228 references to Rows
System.Data (196)
fx\src\data\Microsoft\SqlServer\Server\MetadataUtilsSmi.cs (2)
652foreach (DataRow row in parent.Rows) { 688foreach (DataRow row in parent.Rows) {
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (1)
3649foreach(DataRow row in value.Rows) {
fx\src\data\System\Data\Common\AdapterUtil.cs (1)
2333DataRowCollection rowCollection = dataTable.Rows;
fx\src\data\System\Data\Common\DBCommandBuilder.cs (4)
529if (dataTable.Rows.Count == 1) { 530_parameterNamePattern = dataTable.Rows[0][DbMetaDataColumnNames.ParameterNamePattern] as string; 531_parameterMarkerFormat = dataTable.Rows[0][DbMetaDataColumnNames.ParameterMarkerFormat] as string; 533object oParameterNameMaxLength = dataTable.Rows[0][DbMetaDataColumnNames.ParameterNameMaxLength];
fx\src\data\System\Data\Common\DbProviderFactories.cs (7)
46DataRow providerRow = providerTable.Rows.Find(providerInvariantName); 170dataTable.Rows.Add(row); 177for (int i = 0; (configDataTable != null) && (i < configDataTable.Rows.Count); i++) 184if (configDataTable.Rows[i][AssemblyQualifiedName].ToString().ToLowerInvariant().Contains(DbProviderFactoriesConfigurationHandler.oracleclientProviderNamespace.ToString().ToLowerInvariant())) 186Type providerType = Type.GetType(configDataTable.Rows[i][AssemblyQualifiedName].ToString()); 212dataTable.Rows.Add(configDataTable.Rows[i].ItemArray);
fx\src\data\System\Data\Common\DbProviderFactoriesConfigurationHandler.cs (2)
242config.Rows.Add(values); 248DataRow row = config.Rows.Find(invr);
fx\src\data\System\Data\Common\DBSchemaRow.cs (2)
28int count = dataTable.Rows.Count; 30dataTable.Rows[i][sortindex] = i;
fx\src\data\System\Data\DataColumn.cs (4)
1371if ((0 <= maxLength) && (null != Table) && (0 < Table.Rows.Count)) { 1373foreach (DataRow dr in Table.Rows) { 1403foreach (DataRow dr in this.table.Rows) { 1632foreach (DataRow dr in Table.Rows) {
fx\src\data\System\Data\DataColumnCollection.cs (2)
406for (int i = 0; i < table.Rows.Count; i++) { 407table.Rows[i].ClearError(column);
fx\src\data\System\Data\DataRelation.cs (2)
504foreach(DataRow row in ChildTable.Rows) 512foreach(DataRow row in ChildTable.Rows)
fx\src\data\System\Data\DataRow.cs (1)
214int count = _table.Rows.Count, i = 0;
fx\src\data\System\Data\DataSet.cs (13)
1193foreach (DataRow row in table.Rows) 1216bytes += table.Rows.Count * rowBytes; 1268bitMatrix[i] = new TableChanges(Tables[i].Rows.Count); 1286Debug.Assert(bitMatrix[i].HasChanges <= table.Rows.Count, "to many changes"); 1290table.CopyRow(destTable, table.Rows[j]); 1310DataRowCollection rows = Tables[tableIndex].Rows; 1342int relatedRowIndex = relatedRow.Table.Rows.IndexOf(relatedRow); 1462for (int j = 0; j < table.Rows.Count; j++) { 1463DataRow row = table.Rows[j]; 2204if (table.Rows.Count > 0) 2228t.Rows.nullInList = 0; 2278if (t.Rows.nullInList > 0) 2289foreach (DataRow r in t.Rows) {
fx\src\data\System\Data\DataTable.cs (49)
627int rowCount = Rows.Count; 635DataRow row = Rows[i]; 684int recordsPerRow = Rows[i].CopyValuesIntoStore(storeList, nullbitList, recordsConsumed); 768Rows.ArrayAdd(row); 804Debug.Assert(Rows.Count > rowIndex); 808DataRow row = Rows[rowIndex]; 830Debug.Assert(Rows.Count > rowIndex); 834DataRow row = Rows[rowIndex]; 1294for (int i = 0; i < Rows.Count; i++) { 1295if (Rows[i].HasErrors) { 2116DataRow[] oldRows = new DataRow[Rows.Count]; 2117Rows.CopyTo(oldRows, 0); 2320foreach (DataRow row in Rows) 2625bool shouldFireClearEvents = (this.Rows.Count != 0); // if Rows is already empty, this is noop 2645foreach(DataRow row in Rows) { 2652Rows.ArrayClear(); 2840for (int i = 0; i < Rows.Count; i++) { 2841row = Rows[i]; 2846if (dtChanges.Rows.Count == 0) 2867for (int i = 0; i < Rows.Count; i++) { 2868row = Rows[i]; 2873if (dtChanges.Rows.Count == 0) 2889for (int i = 0; i < Rows.Count; i++) { 2890DataRow row = Rows[i]; 3043Rows.ArrayAdd(row); // SQL BU Defect Tracking 247738, 323482 row should be in the 3584DataRow[] oldRows = new DataRow[Rows.Count]; 3585Rows.CopyTo(oldRows, 0); 3628Rows.ArrayRemove(row); 3899Rows.ArrayAdd(row); 3901Rows.ArrayInsert(row, position); 4141initialLoad = (Rows.Count == 0); 4317Rows.Add(row2); 4321return Rows.Add(values); 5589if (this.Rows.Count == 0) { 5599newDt.Rows.nullInList = 0; 5642if (newDt.Rows.nullInList > 0) 5656foreach (DataRow r in tableList[i].Rows) { 6172foreach(DataRow row in Rows) { 6207for (int j = 0; j < Rows.Count; j++) { 6208DataRow tableRow = Rows[j]; 6214for (int j = 0; j < Rows.Count; j++) 6216DataRow tableRow = Rows[j]; 6227for (int j = 0; j < Rows.Count; j++) 6229DataRow tableRow = Rows[j]; 6259int count = column.table.Rows.Count; 6264DataRow row = column.table.Rows[j]; 6279DataRow row = column.table.Rows[j]; 6325for (int j = 0; j < Rows.Count; j++) { //evaluate for all rows in the table 6326DataRow dr = Rows[j];
fx\src\data\System\Data\DataTableReader.cs (13)
104hasRows = (currentDataTable.Rows.Count > 0); 158hasRows = (currentDataTable.Rows.Count > 0); 186if (rowCounter >= currentDataTable.Rows.Count -1 ) { 195currentDataRow = currentDataTable.Rows[rowCounter]; 199if (rowCounter == currentDataTable.Rows.Count) { 206currentDataRow = currentDataTable.Rows[rowCounter]; 718tempSchemaTable.Rows.Add(dr); 722tempSchemaTable.Rows[key.Ordinal][IsKeyColumn] = true; 760if (0 > rowCounter ||currentDataTable.Rows.Count <= rowCounter) { 773if (0 > rowPosition ||currentDataTable.Rows.Count <= rowPosition) { 811if (currentDataRow == currentDataTable.Rows[rowCounter + 1]) { // check if we moved one position up 823if (currentDataRow == currentDataTable.Rows[rowCounter - 1]) { // one of previous rows is detached, collection size is changed! 831currentDataRow = currentDataTable.Rows[rowCounter];
fx\src\data\System\Data\DataView.cs (2)
845table.Rows.Add(newRow); 1720dt.Rows.Add(o);
fx\src\data\System\Data\Filter\AggregateNode.cs (2)
159rows = new DataRow[childTable.Rows.Count]; 160childTable.Rows.CopyTo(rows, 0);
fx\src\data\System\Data\ForeignKeyConstraint.cs (1)
452if (Table.DataSet.EnforceConstraints && Table.Rows.Count > 0) {
fx\src\data\System\Data\Merger.cs (4)
173int rowsCount = src.Rows.Count; 174bool wasEmpty = dst.Rows.Count == 0; 187foreach(DataRow sourceRow in src.Rows) { 254if(0 < dst.Rows.Count && ndxSearch != null) {
fx\src\data\System\Data\Odbc\OdbcDataReader.cs (1)
2027schematable.Rows.Add(row);
fx\src\data\System\Data\Odbc\odbcmetadatafactory.cs (12)
92foreach (DataRow collection in metaDataCollectionsTable.Rows){ 112foreach (DataRow restriction in restrictionsTable.Rows) { 175resultTable.Rows.Add(values); 193object[] getTypeInfoValues = new object[schemaTable.Rows.Count]; 409dataTypesTable.Rows.Add(dataTypesRow); 430resultTable.Rows.Add(values); 450resultTable.Rows.Add(values); 472resultTable.Rows.Add(values); 552if (dataSourceInformationTable.Rows.Count != 1){ 555DataRow dataSourceInformation = dataSourceInformationTable.Rows[0]; 952reservedWordsTable.Rows.Add(row); 1023foreach (DataRow row in schemaTable.Rows){
fx\src\data\System\Data\OleDb\OleDbCommandBuilder.cs (2)
289if (0 == table.Rows.Count) { 297if (0 == table.Rows.Count) {
fx\src\data\System\Data\OleDb\OleDbConnectionInternal.cs (2)
411table.Rows.Add(row); 465table.Rows.Add(row);
fx\src\data\System\Data\OleDb\OledbConnectionStringbuilder.cs (2)
634System.Collections.Generic.List<string> providerNames = new System.Collections.Generic.List<string>(table.Rows.Count); 635foreach(DataRow row in table.Rows) {
fx\src\data\System\Data\OleDb\OleDbDataReader.cs (3)
405schemaTable.Rows.Add(newRow); 1862foreach(DataRow dataRow in table.Rows) { 1929foreach(DataRow dataRow in table.Rows) {
fx\src\data\System\Data\OleDb\OleDbMetaDataFactory.cs (7)
103foreach (DataRow collection in metaDataCollectionsTable.Rows){ 142foreach (DataRow restriction in restrictionsTable.Rows) { 196if (dataSourceInformationTable.Rows.Count != 1){ 199DataRow dataSourceInformation = dataSourceInformationTable.Rows[0]; 395foreach (DataRow sourceRow in providerTypesTable.Rows) { 443dataTypesTable.Rows.Add(newRow); 515foreach (DataRow row in metaDataCollectionsTable.Rows){
fx\src\data\System\Data\ProviderBase\DbMetaDataFactory.cs (8)
97foreach (DataRow row in sourceTable.Rows) { 103destinationTable.Rows.Add(newRow); 189foreach (DataRow row in schemaTable.Rows){ 195resultTable.Rows.Add(values); 264foreach (DataRow row in metaDataCollectionsTable.Rows){ 323if (dataSourceInfoTable.Rows.Count != 1) { 327DataRow dataSourceInfoRow = dataSourceInfoTable.Rows[0]; 360foreach (DataRow restriction in restrictionsTable.Rows) {
fx\src\data\System\Data\ProviderBase\SchemaMapping.cs (1)
653bool addPrimaryKeys = (((0 == _dataTable.PrimaryKey.Length) && ((4 <= (int)_loadOption) || (0 == _dataTable.Rows.Count)))
fx\src\data\System\Data\RecordManager.cs (1)
152freeRecordList.Capacity = freeRecordList.Count + table.Rows.Count;
fx\src\data\System\Data\Select.cs (2)
179int rowsCount = this.table.Rows.Count; 224int rowsCount = this.table.Rows.Count;
fx\src\data\System\Data\Selection.cs (5)
342return table.Rows.IndexOf(table.recordManager[record1]).CompareTo(table.Rows.IndexOf(table.recordManager[record2])); 700foreach(DataRow b in table.Rows) 757append = (table.Rows.IndexOf(row)+1 == table.Rows.Count);
fx\src\data\System\Data\Sql\SqlDataSourceEnumerator.cs (1)
150dataTable.Rows.Add(dataRow);
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (2)
1545_rowEnumerator = table.Rows.GetEnumerator(); 1735_rowEnumerator = table.Rows.GetEnumerator();
fx\src\data\System\Data\SqlClient\SqlConnectionStringBuilder.cs (2)
1336DataRowCollection rows = table.Rows; 1411foreach (DataRow row in databaseTable.Rows) {
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (1)
674schemaTable.Rows.Add(schemaRow);
fx\src\data\System\Data\SqlClient\SqlDataReaderSmi.cs (1)
710schemaTable.Rows.Add(schemaRow);
fx\src\data\System\Data\SqlClient\sqlmetadatafactory.cs (2)
164dataTypesTable.Rows.Add(newRow); 235dataTypesTable.Rows.Add(newRow);
fx\src\data\System\Data\SqlClient\SqlParameter.cs (3)
1271if (schema.Rows.Count <= 0) { 1275int fieldCount = schema.Rows.Count; 1283DataRow row = schema.Rows[rowOrdinal];
fx\src\data\System\Data\XmlDataLoader.cs (5)
105r.Table.Rows.Add( r ); 321topTable.Rows.Add(topRow); 792row = table.Rows.AddWithColumnEvents(foundColumns); // Create, populate and add row 1016table.Rows.DiffInsertAt(row, rowOrder); // insert data to specific location 1042row = table.Rows.AddWithColumnEvents(foundColumns); // Create, populate and add row
fx\src\data\System\Data\XMLDiffLoader.cs (2)
113tableBefore.Rows.DiffInsertAt(row, pos); 162tableBefore.Rows.DiffInsertAt(row, pos);
fx\src\data\System\Data\xmlsaver.cs (10)
2012rows += ((DataTable)tables[i]).Rows.Count ; 2017DataRowCollection rc = dt.Rows; 2026if (((DataTable)_tables[i]).Rows.Count > 0) 2086int rowCount = table.Rows.Count; 2092GenerateRow(table.Rows[rowNum]); 2097int rowCount = table.Rows.Count; 2106DataRow row = table.Rows[rowNum]; 2441foreach (DataRow row in tempTable.Rows) { 2471if (_ds.TopLevelTables()[0].Rows.Count == 1) 2505foreach (DataRow row in ((DataTable)_dTables[i]).Rows) {
fx\src\data\System\NewXml\XmlDataDocument.cs (9)
128r.Table.Rows.Add( r ); 163r.Table.Rows.Add( r ); 770for (i = 0; i < row.Table.Rows.Count; i++) 771if (row == row.Table.Rows[i]) 776for (i = pos + 1; i < row.Table.Rows.Count; i++) { 777refRow = row.Table.Rows[i]; 782if (i < row.Table.Rows.Count) 1128foreach( DataRow r in t.Rows ) { 2469row.Table.Rows.Add( row );
System.Data.DataSetExtensions (4)
System\Data\EnumerableRowCollection.cs (1)
109_enumerableRows = table.Rows.Cast<TRow>();
System\Data\TypedTableBase.cs (1)
52return this.Rows.Cast<T>().GetEnumerator();
System\Data\TypedTableBaseExtensions.cs (2)
122if ((index >= 0) && (index < source.Rows.Count)) 124return (TRow)source.Rows[index];
System.Data.Entity (1)
System\Data\Common\EntityUtil.cs (1)
1842foreach (DataRow row in DbProviderFactories.GetFactoryClasses().Rows)
System.Data.Entity.Design (3)
System\Data\Entity\Design\SSDLGenerator\EntityStoreSchemaGeneratorDatabaseSchemaLoader.cs (1)
178table.Rows.Add(values);
System\Data\Entity\Design\SSDLGenerator\RelationshipDetailsCollection.cs (1)
214return this.Rows.GetEnumerator();
System\Data\Entity\Design\SSDLGenerator\TableDetailsCollection.cs (1)
225return this.Rows.GetEnumerator();
System.Data.Linq (1)
SqlClient\SqlProvider.cs (1)
431DbProviderFactories.GetFactoryClasses().Rows.OfType<DataRow>()
System.Web (19)
Handlers\TraceHandler.cs (12)
288AddCell(trow, (string) current.Tables[SR.Trace_Request].Rows[0][SR.Trace_Time_of_Request]); 289AddCell(trow, HttpUtility.HtmlEncode((string) current.Tables[SR.Trace_Request].Rows[0][SR.Trace_Url]).Substring(vrootLen)); 290AddCell(trow, current.Tables[SR.Trace_Request].Rows[0][SR.Trace_Status_Code].ToString()); 291AddCell(trow, (string) current.Tables[SR.Trace_Request].Rows[0][SR.Trace_Request_Type]); 369en = datatable.Rows.GetEnumerator(); 535en = datatable.Rows.GetEnumerator(); 576AddCell(trow, HttpUtility.HtmlEncode(datatable.Rows[0][SR.Trace_Session_Id].ToString())); 578AddCell(trow, datatable.Rows[0][SR.Trace_Request_Type].ToString()); 583AddCell(trow, datatable.Rows[0][SR.Trace_Time_of_Request].ToString()); 585AddCell(trow, datatable.Rows[0][SR.Trace_Status_Code].ToString()); 590AddCell(trow, datatable.Rows[0][SR.Trace_Request_Encoding].ToString()); 592AddCell(trow, datatable.Rows[0][SR.Trace_Response_Encoding].ToString());
UI\TraceContext.cs (6)
153DataRow row = _requestData.Tables[SR.Trace_Request].Rows[0]; 371DataRow row = dt.Rows.Find((object) controlId); 385DataRow row = dt.Rows.Find((object) controlId); 500DataRow row = _requestData.Tables[SR.Trace_Request].Rows[0]; 605row = _requestData.Tables[SR.Trace_Request].Rows[0]; 752ds.Tables[table].Rows.Add(row);
UI\WebControls\ObjectDataSourceView.cs (1)
1163arguments.TotalRowCount = dataTable.Rows.Count;
System.Web.DataVisualization (2)
Common\DataManager\DataPoint.cs (1)
1145 return dataSet.Tables[0].Rows.GetEnumerator();
Common\General\DataManipulator.cs (1)
1069 seriesTable.Rows.Add(dataRow);
System.Windows.Forms.DataVisualization (2)
Common\DataManager\DataPoint.cs (1)
1145 return dataSet.Tables[0].Rows.GetEnumerator();
Common\General\DataManipulator.cs (1)
1069 seriesTable.Rows.Add(dataRow);