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