183 references to Rows
Accessibility_Core_App (10)
DataBindingExample.cs (9)
73
if (dataSet.Tables[0].
Rows
.Count > 0)
75
for (int i = 0; i < dataSet.Tables[0].
Rows
.Count; i++)
79
Text = dataSet.Tables[0].
Rows
[i]["StuName"].ToString()
91
int row_Count = dataSet.Tables[0].
Rows
.Count;
102
string itemName = dataSet.Tables[0].
Rows
[i][0].ToString();
108
item.SubItems.Add(dataSet.Tables[0].
Rows
[i][j].ToString());
127
stuTable.
Rows
.Add(stuRow);
133
stuTable.
Rows
.Add(stuRow);
139
stuTable.
Rows
.Add(stuRow);
DataControls.cs (1)
28
dataTable.
Rows
.Add(dataRow);
Microsoft.Data.Analysis (1)
DataFrame.IO.cs (1)
171
table.
Rows
.Add(items);
Microsoft.Data.Analysis.Tests (1)
DataFrame.IOTests.cs (1)
1251
var resVals = table.
Rows
.Cast<DataRow>().Select(row => row.ItemArray).ToArray();
System.Data.Common (138)
System\Data\Common\AdapterUtil.Common.cs (1)
713
DataRowCollection rowCollection = dataTable.
Rows
;
System\Data\Common\DBCommandBuilder.cs (4)
592
if (dataTable.
Rows
.Count == 1)
594
_parameterNamePattern = dataTable.
Rows
[0][DbMetaDataColumnNames.ParameterNamePattern] as string;
595
_parameterMarkerFormat = dataTable.
Rows
[0][DbMetaDataColumnNames.ParameterMarkerFormat] as string;
597
object oParameterNameMaxLength = dataTable.
Rows
[0][DbMetaDataColumnNames.ParameterNameMaxLength];
System\Data\Common\DbDataReaderExtensions.cs (1)
78
foreach (DataRow row in schemaTable.
Rows
)
System\Data\Common\DBSchemaRow.cs (2)
24
int count = dataTable.
Rows
.Count;
27
dataTable.
Rows
[i][sortindex] = i;
System\Data\DataColumn.cs (4)
1375
if ((0 <= _maxLength) && (null != Table) && (0 < Table.
Rows
.Count))
1378
foreach (DataRow dr in Table.
Rows
)
1423
foreach (DataRow dr in _table!.
Rows
)
1684
foreach (DataRow dr in Table!.
Rows
)
System\Data\DataColumnCollection.cs (2)
432
for (int i = 0; i < _table.
Rows
.Count; i++)
434
_table.
Rows
[i].ClearError(column);
System\Data\DataRelation.cs (2)
512
foreach (DataRow row in ChildTable.
Rows
)
525
foreach (DataRow row in ChildTable.
Rows
)
System\Data\DataRow.cs (1)
211
int count = _table.
Rows
.Count, i = 0;
System\Data\DataSet.cs (13)
1260
foreach (DataRow row in table.
Rows
)
1288
bytes += table.
Rows
.Count * rowBytes;
1341
bitMatrix[i] = new TableChanges(Tables[i].
Rows
.Count);
1362
Debug.Assert(bitMatrix[i].HasChanges <= table.
Rows
.Count, "to many changes");
1369
DataTable.CopyRow(destTable, table.
Rows
[j]);
1393
DataRowCollection rows = Tables[tableIndex].
Rows
;
1431
int relatedRowIndex = relatedRow.Table.
Rows
.IndexOf(relatedRow);
1557
for (int j = 0; j < table.
Rows
.Count; j++)
1559
DataRow row = table.
Rows
[j];
2441
if (table.
Rows
.Count > 0)
2474
t.
Rows
._nullInList = 0;
2535
if (t.
Rows
._nullInList > 0)
2551
foreach (DataRow r in t.
Rows
)
System\Data\DataTable.cs (49)
693
int rowCount =
Rows
.Count;
702
DataRow row =
Rows
[i];
757
int recordsPerRow =
Rows
[i].CopyValuesIntoStore(storeList, nullbitList, recordsConsumed);
850
Rows
.ArrayAdd(row);
899
Debug.Assert(
Rows
.Count > rowIndex);
903
DataRow row =
Rows
[rowIndex];
930
Debug.Assert(
Rows
.Count > rowIndex);
934
DataRow row =
Rows
[rowIndex];
1388
for (int i = 0; i <
Rows
.Count; i++)
1390
if (
Rows
[i].HasErrors)
2296
DataRow[] oldRows = new DataRow[
Rows
.Count];
2297
Rows
.CopyTo(oldRows, 0);
2526
foreach (DataRow row in
Rows
)
2846
bool shouldFireClearEvents = (
Rows
.Count != 0); // if Rows is already empty, this is noop
2867
foreach (DataRow row in
Rows
)
2875
Rows
.ArrayClear();
3100
for (int i = 0; i <
Rows
.Count; i++)
3102
row =
Rows
[i];
3109
if (dtChanges.
Rows
.Count == 0)
3133
for (int i = 0; i <
Rows
.Count; i++)
3135
row =
Rows
[i];
3142
if (dtChanges.
Rows
.Count == 0)
3162
for (int i = 0; i <
Rows
.Count; i++)
3164
DataRow row =
Rows
[i];
3345
Rows
.ArrayAdd(row);
3975
DataRow[] oldRows = new DataRow[
Rows
.Count];
3976
Rows
.CopyTo(oldRows, 0);
4024
Rows
.ArrayRemove(row);
4342
Rows
.ArrayAdd(row);
4346
Rows
.ArrayInsert(row, position);
4612
_initialLoad = (
Rows
.Count == 0);
4816
Rows
.Add(row2);
4820
return
Rows
.Add(values);
6312
if (
Rows
.Count == 0)
6324
newDt.
Rows
._nullInList = 0;
6376
if (newDt.
Rows
._nullInList > 0)
6394
foreach (DataRow r in tableList[i].
Rows
)
6969
foreach (DataRow row in
Rows
)
7016
for (int j = 0; j <
Rows
.Count; j++)
7018
DataRow tableRow =
Rows
[j];
7025
for (int j = 0; j <
Rows
.Count; j++)
7027
DataRow tableRow =
Rows
[j];
7038
for (int j = 0; j <
Rows
.Count; j++)
7040
DataRow tableRow =
Rows
[j];
7078
int count = column._table.
Rows
.Count;
7085
DataRow row = column._table.
Rows
[j];
7105
DataRow row = column._table.
Rows
[j];
7167
for (int j = 0; j <
Rows
.Count; j++)
7170
DataRow dr =
Rows
[j];
System\Data\DataTableReader.cs (13)
106
_hasRows = (_currentDataTable.
Rows
.Count > 0);
161
_hasRows = (_currentDataTable.
Rows
.Count > 0);
181
if (_rowCounter >= _currentDataTable.
Rows
.Count - 1)
190
_currentDataRow = _currentDataTable.
Rows
[_rowCounter];
195
if (_rowCounter == _currentDataTable.
Rows
.Count)
202
_currentDataRow = _currentDataTable.
Rows
[_rowCounter];
844
tempSchemaTable.
Rows
.Add(dr);
849
tempSchemaTable.
Rows
[key.Ordinal][IsKeyColumn] = true;
900
if (0 > _rowCounter || _currentDataTable.
Rows
.Count <= _rowCounter)
914
if (0 > rowPosition || _currentDataTable.
Rows
.Count <= rowPosition)
952
if (_currentDataRow == _currentDataTable.
Rows
[_rowCounter + 1])
968
if (_currentDataRow == _currentDataTable.
Rows
[_rowCounter - 1])
981
_currentDataRow = _currentDataTable.
Rows
[_rowCounter];
System\Data\DataView.cs (2)
795
_table!.
Rows
.Add(newRow);
1727
dt.
Rows
.Add(o);
System\Data\EnumerableRowCollection.cs (1)
93
_enumerableRows = table.
Rows
.Cast<TRow>();
System\Data\Filter\AggregateNode.cs (2)
175
rows = new DataRow[_childTable.
Rows
.Count];
176
_childTable.
Rows
.CopyTo(rows, 0);
System\Data\ForeignKeyConstraint.cs (1)
499
if (Table.DataSet.EnforceConstraints && Table.
Rows
.Count > 0)
System\Data\Merger.cs (4)
195
int rowsCount = src.
Rows
.Count;
196
bool wasEmpty = dst.
Rows
.Count == 0;
214
foreach (DataRow sourceRow in src.
Rows
)
295
if (0 < dst!.
Rows
.Count && ndxSearch != null)
System\Data\ProviderBase\SchemaMapping.cs (1)
780
bool addPrimaryKeys = (((0 == _dataTable.PrimaryKey.Length) && ((4 <= (int)_loadOption) || (0 == _dataTable.
Rows
.Count)))
System\Data\RecordManager.cs (1)
169
_freeRecordList.Capacity = _freeRecordList.Count + _table.
Rows
.Count;
System\Data\Selection.cs (5)
331
return _table.
Rows
.IndexOf(row1).CompareTo(_table.
Rows
.IndexOf(row2));
728
foreach (DataRow b in _table.
Rows
)
796
append = (_table.
Rows
.IndexOf(row) + 1 == _table.
Rows
.Count);
System\Data\TypedTableBase.cs (1)
48
return
Rows
.Cast<T>().GetEnumerator();
System\Data\TypedTableBaseExtensions.cs (2)
97
if ((index >= 0) && (index < source.
Rows
.Count))
99
return (TRow)source.
Rows
[index];
System\Data\XmlDataLoader.cs (5)
112
r.Table.
Rows
.Add(r);
347
topTable.
Rows
.Add(topRow);
841
row = table.
Rows
.AddWithColumnEvents(foundColumns); // Create, populate and add row
1078
table.
Rows
.DiffInsertAt(row, rowOrder); // insert data to specific location
1109
row = table.
Rows
.AddWithColumnEvents(foundColumns); // Create, populate and add row
System\Data\XMLDiffLoader.cs (2)
117
tableBefore.
Rows
.DiffInsertAt(row, pos);
171
tableBefore.
Rows
.DiffInsertAt(row, pos);
System\Data\xmlsaver.cs (10)
2323
rows += ((DataTable)tables[i]!).
Rows
.Count;
2329
DataRowCollection rc = dt.
Rows
;
2340
if (((DataTable)_tables[i]!).
Rows
.Count > 0)
2418
int rowCount = table.
Rows
.Count;
2424
GenerateRow(table.
Rows
[rowNum]);
2430
int rowCount = table.
Rows
.Count;
2440
DataRow row = table.
Rows
[rowNum];
2823
foreach (DataRow row in tempTable.
Rows
)
2860
if (_ds.TopLevelTables()[0].
Rows
.Count == 1)
2902
foreach (DataRow row in ((DataTable)_dTables[i]!).
Rows
)
System\Xml\XmlDataDocument.cs (9)
135
r.Table.
Rows
.Add(r);
174
r.Table.
Rows
.Add(r);
854
for (i = 0; i < row.Table.
Rows
.Count; i++)
855
if (row == row.Table.
Rows
[i])
860
for (i = pos + 1; i < row.Table.
Rows
.Count; i++)
862
refRow = row.Table.
Rows
[i];
867
if (i < row.Table.
Rows
.Count)
1252
foreach (DataRow r in t.
Rows
)
2758
row.Table.
Rows
.Add(row);
System.Data.Odbc (21)
src\libraries\Common\src\System\Data\ProviderBase\DbMetaDataFactory.cs (8)
75
foreach (DataRow row in sourceTable.
Rows
)
84
destinationTable.
Rows
.Add(newRow);
172
foreach (DataRow row in schemaTable.
Rows
)
180
resultTable.
Rows
.Add(values);
250
foreach (DataRow row in metaDataCollectionsTable.
Rows
)
324
if (dataSourceInfoTable.
Rows
.Count != 1)
329
DataRow dataSourceInfoRow = dataSourceInfoTable.
Rows
[0];
367
foreach (DataRow restriction in restrictionsTable!.
Rows
)
System\Data\Odbc\OdbcDataReader.cs (1)
2299
schematable.
Rows
.Add(row);
System\Data\Odbc\OdbcMetaDataFactory.cs (12)
84
foreach (DataRow collection in metaDataCollectionsTable.
Rows
)
111
foreach (DataRow restriction in restrictionsTable.
Rows
)
177
resultTable.
Rows
.Add(values);
196
object[] getTypeInfoValues = new object[schemaTable.
Rows
.Count];
424
dataTypesTable.
Rows
.Add(dataTypesRow);
446
resultTable.
Rows
.Add(values);
469
resultTable.
Rows
.Add(values);
494
resultTable.
Rows
.Add(values);
578
if (dataSourceInformationTable.
Rows
.Count != 1)
582
DataRow dataSourceInformation = dataSourceInformationTable.
Rows
[0];
995
reservedWordsTable.
Rows
.Add(row);
1069
foreach (DataRow row in schemaTable.
Rows
)
System.Windows.Forms.Tests (2)
BindingNavigatorTests.cs (1)
223
dt.
Rows
.Add(dr);
System\Windows\Forms\DataGridViewTests.cs (1)
2881
dt.
Rows
.Add(dr);
System.Windows.Forms.UI.IntegrationTests (2)
DataGridViewTests.cs (2)
24
dataTable.
Rows
.Add(values: "name1");
52
dataTable.
Rows
.Add(values: cellValue);
UnsupportedTypes (8)
CreateFrameworkTypes.cs (8)
211
customerDataTable.
Rows
.Add(newRow1);
215
customerDataTable.
Rows
[0]["CustName"] = "Customer1";
216
customerDataTable.
Rows
[1]["CustName"] = "Customer2";
217
customerDataTable.
Rows
[2]["CustName"] = "Customer3";
220
customerDataTable.
Rows
[0]["Current"] = true;
221
customerDataTable.
Rows
[1]["Current"] = true;
222
customerDataTable.
Rows
[2]["Current"] = false;
234
orderDataTable.
Rows
.Add(newRow2);