626 references to Columns
System.Data (483)
fx\src\data\System\Data\CodeGen\datacache.cs (17)
282if (relation.ChildTable.Columns.Count == 1) { 323for (int i = 0; i < table.Columns.Count; i++) { 325dataTableClass.Members.Add(FieldDecl(typeof(DataColumn), TableColumnFieldName(table.Columns[i]))); 399for (int i = 0; i < table.Columns.Count; i++) { 403DataColumn column = table.Columns[i]; 436for (int i = 0; i < table.Columns.Count; i++) { 437if (!table.Columns[i].AutoIncrement) { 438parameterColumnList.Add(table.Columns[i]); 465index = new DataColumn[table.Columns.Count]; 466table.Columns.CopyTo(index, 0); 568for (int i = 0; i < table.Columns.Count; i++) { 569DataColumn column = table.Columns[i]; 617for (int i = 0; i < table.Columns.Count; i++) { 618DataColumn column = table.Columns[i]; 774foreach(DataColumn col in table.Columns) { 1393for (int i = 0; i < table.Columns.Count; i++) { 1394DataColumn column = table.Columns[i];
fx\src\data\System\Data\Common\DataColumnMapping.cs (1)
102DataColumnCollection columns = dataTable.Columns;
fx\src\data\System\Data\Common\DbProviderFactories.cs (1)
58DataColumn column = providerRow.Table.Columns[AssemblyQualifiedName];
fx\src\data\System\Data\Common\DbProviderFactoriesConfigurationHandler.cs (1)
274table.Columns.AddRange(columns);
fx\src\data\System\Data\Common\DBSchemaRow.cs (2)
23DataColumn sortindex= dataTable.Columns[SchemaMappingUnsortedIndex]; 26dataTable.Columns.Add(sortindex);
fx\src\data\System\Data\Common\DBSchemaTable.cs (1)
73this.columns = dataTable.Columns;
fx\src\data\System\Data\ConstraintCollection.cs (4)
688parents[j] = table.Columns[constr.columnNames[j]]; 719parents[j] = table.DataSet.Tables[constr.parentTableName].Columns[constr.parentColumnNames[j]]; 721parents[j] = table.DataSet.Tables[constr.parentTableName, constr.parentTableNamespace].Columns[constr.parentColumnNames[j]]; 722childs[j] = table.Columns[constr.childColumnNames[j]];
fx\src\data\System\Data\DataColumn.cs (5)
403table.Columns.RegisterColumnName(value, this); 405table.Columns.UnregisterName(_columnName); 412table.Columns.OnColumnPropertyChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, this)); 420table.Columns.OnColumnPropertyChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, this)); 1034table.Columns.MoveTo(this, ordinal);
fx\src\data\System\Data\DataError.cs (1)
130int newCapacity = Math.Min(count*2, column.Table.Columns.Count);
fx\src\data\System\Data\DataRelation.cs (4)
494this.ParentTable.Columns.RegisterColumnName(this.ChildTable.TableName, null); 496this.ParentTable.Columns.UnregisterName(this.ChildTable.TableName); 706parentColumns[i] = parent.Columns[ParentKey.ColumnsReference[i].ColumnName]; 707childColumns[i] = child.Columns[ChildKey.ColumnsReference[i].ColumnName];
fx\src\data\System\Data\DataRelationCollection.cs (5)
466relation.ParentTable.Columns.UnregisterName(relation.ChildTable.TableName); 794parents[j] = dataSet.Tables[rel.parentTableName].Columns[rel.parentColumnNames[j]]; 796parents[j] = dataSet.Tables[rel.parentTableName, rel.parentTableNamespace].Columns[rel.parentColumnNames[j]]; 799childs[j] = dataSet.Tables[rel.childTableName].Columns[rel.childColumnNames[j]]; 801childs[j] = dataSet.Tables[rel.childTableName, rel.childTableNamespace].Columns[rel.childColumnNames[j]];
fx\src\data\System\Data\DataRow.cs (2)
58_columns = _table.Columns; 1014foreach(DataColumn dc in Table.Columns) {
fx\src\data\System\Data\DataRowView.cs (3)
79SetColumnValue(dataView.Table.Columns[ndx], value); 91DataColumn column = dataView.Table.Columns[property]; 101DataColumn column = dataView.Table.Columns[property];
fx\src\data\System\Data\DataSet.cs (8)
493parentkeyColumns[i] = Tables[parentInfo[0]].Columns[parentInfo[i + 1]]; 499childkeyColumns[i] = Tables[childInfo[0]].Columns[childInfo[i + 1]]; 618foreach (DataColumn column in table.Columns) { 1062Tables[i].Columns.FinishInitCollection(); 1161foreach (DataColumn col in table.Columns) 1163ds.Tables[table.TableName, table.Namespace].Columns[col.ColumnName].Expression = col.Expression; 1212for (int j = 0; j < table.Columns.Count; j++) { 1213rowBytes += ((table.Columns[j].ColumnName.Length + 4) << 2);
fx\src\data\System\Data\DataTable.cs (90)
338info.AddValue("DataTable.Columns.Count", Columns.Count); 349for (int i = 0; i < Columns.Count; i++) { 351info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.ColumnName", i), Columns[i].ColumnName); 352info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.Namespace", i), Columns[i]._columnUri); 353info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.Prefix", i), Columns[i].Prefix); 354info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.ColumnMapping", i), Columns[i].ColumnMapping); 355info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.AllowDBNull", i), Columns[i].AllowDBNull); 356info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.AutoIncrement", i), Columns[i].AutoIncrement); 357info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.AutoIncrementStep", i), Columns[i].AutoIncrementStep); 358info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.AutoIncrementSeed", i), Columns[i].AutoIncrementSeed); 359info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.Caption", i), Columns[i].Caption); 360info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.DefaultValue", i), Columns[i].DefaultValue); 361info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.ReadOnly", i), Columns[i].ReadOnly); 362info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.MaxLength", i), Columns[i].MaxLength); 363info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.DataType", i), Columns[i].DataType); 365info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.XmlDataType", i), Columns[i].XmlDataType); 366info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.SimpleType", i), Columns[i].SimpleType); 368info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.DateTimeMode", i), Columns[i].DateTimeMode); 371info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.AutoIncrementCurrent", i), Columns[i].AutoIncrementCurrent); 375info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.Expression", i), Columns[i].Expression); 379info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.ExtendedProperties", i), Columns[i].extendedProperties); 420Debug.Assert(Columns.Count == 0, "There is column in Table"); 457Columns.Add(dc); 462Columns[i].Expression = expressions[i]; 559keyColumns[i] = Columns[keyColumnIndexes[i]]; 581parentkeyColumns[i] = parentTable.Columns[parentInfo[i + 1]]; 588childkeyColumns[i] = childTable.Columns[childInfo[i + 1]]; 606int colCount = Columns.Count; 608info.AddValue(String.Format(CultureInfo.InvariantCulture, "DataTable_{0}.DataColumn_{1}.Expression", serIndex, i), Columns[i].Expression); 614int colCount = Columns.Count; 618Columns[i].Expression = expr; 626int colCount = Columns.Count; 672object store = Columns[i].GetEmptyColumnStore(recordCount); 726for (int i = 0; i < Columns.Count; i++) { 727Columns[i].SetStorage(storeList[i], (BitArray) nullbitList[i]); 1081Columns.Clear(); 1134DataColumnCollection cols = Columns; 1240foreach (DataColumn column in Columns) { 1379foreach(DataColumn column in Columns) { 1681if (!rel.ParentTable.Columns.CanRegisterName(value)) { 1689rel.ParentTable.Columns.RegisterColumnName(value, null); 1690rel.ParentTable.Columns.UnregisterName(this.TableName); 1847foreach (DataColumn col in Columns) 1888Columns.FinishInitCollection(); 1890foreach(DataColumn dc in Columns){ 1944Columns.Remove(xmlText); 1949if (value != Columns[value.ColumnName]) 1950Columns.Add(value); 2097DataColumn col = targetRow.Table.Columns[cols[i].ColumnName]; 2153if (clone.Columns.Count > 0) // Microsoft : To clean up all the schema in strong typed dataset. 2164foreach(DataColumn dc in sourceTable.Columns) { 2165if (targetTable.Columns[dc.ColumnName] == null) { 2166targetTable.Columns.Add(dc.Clone()); 2182if ((destinationTable != null && destinationTable.Columns.Count > 0)) { 2235DataColumnCollection clmns = this.Columns; 2237clone.Columns.Add(clmns[i].Clone()); 2243clone.Columns[clmns[i].ColumnName].Expression = clmns[i].Expression; 2252key[i] = clone.Columns[pkey[i].Ordinal]; 2499for (int i = 0; i < Columns.Count; i++) { 2500if (Columns[i].Site != null) { 2501cont.Remove(Columns[i]); 2661foreach(DataColumn column in Columns) { 2768DataColumn col = targetRow.Table.Columns[cols[i].ColumnName]; 2984DataColumn col = targetRow.Table.Columns[cols[i].ColumnName]; 3154foreach( DataColumn c in this.Columns ) { 3396DataColumn column = Columns[current]; 3653Columns.Clear(); 4351Columns.Add(key); 4353for(int i = Columns.Count -1; i >= position; i--) { 4354this.Columns[i].SetOrdinalInternal(i+1); 4356Columns.AddAt(position, key); 4378Columns.Add(foreignKey); 4396int columnsCount = Columns.Count; 4400props[i] = new DataColumnPropertyDescriptor(Columns[i]); 4578foreach(DataColumn dc in this.Columns) { 4612foreach(DataColumn dc in dataRow.Table.Columns) { 4723foreach(DataColumn dc in this.Columns) { 4954foreach(DataColumn dc in datatable.Columns) { 5155if (Columns.Count == 0) { 5166if (Columns.Count == 0) { 5274if (!fSchemaFound && Columns.Count == 0) { 5296if (!fSchemaFound && Columns.Count == 0) { 5358if (Columns.Count == 0) { 5376if (Columns.Count == 0) { 5475if (Columns.Count == 0) { 5514if (Columns.Count == 0) { 5540if (Columns.Count == 0) { 5779if (this.Columns.Count == 0) { 5842foreach(DataColumn dc in tempTable.Columns) { 5854this.DataSet.Tables[tempTable.TableName, tempTable.Namespace].Columns[dc.ColumnName].Expression = dc.Expression;
fx\src\data\System\Data\DataTableReader.cs (30)
277return currentDataTable.Columns.Count; 454return (currentDataTable.Columns[ordinal].DataType); 526return (currentDataTable.Columns[ordinal].ColumnName); 537DataColumn dc = currentDataTable.Columns[name]; 650tempSchemaTable.Columns.Add(ColumnName); 651tempSchemaTable.Columns.Add(ColumnOrdinal); 652tempSchemaTable.Columns.Add(ColumnSize); 653tempSchemaTable.Columns.Add(NumericPrecision); 654tempSchemaTable.Columns.Add(NumericScale); 655tempSchemaTable.Columns.Add(DataType); 656tempSchemaTable.Columns.Add(ProviderType); 657tempSchemaTable.Columns.Add(IsLong); 658tempSchemaTable.Columns.Add(AllowDBNull); 659tempSchemaTable.Columns.Add(IsReadOnly); 660tempSchemaTable.Columns.Add(IsRowVersion); 661tempSchemaTable.Columns.Add(IsUnique); 662tempSchemaTable.Columns.Add(IsKeyColumn); 663tempSchemaTable.Columns.Add(IsAutoIncrement); 664tempSchemaTable.Columns.Add(BaseCatalogName); 665tempSchemaTable.Columns.Add(BaseSchemaName); 667tempSchemaTable.Columns.Add(BaseTableName); 668tempSchemaTable.Columns.Add(BaseColumnName); 669tempSchemaTable.Columns.Add(AutoIncrementSeed); 670tempSchemaTable.Columns.Add(AutoIncrementStep); 671tempSchemaTable.Columns.Add(DefaultValue); 672tempSchemaTable.Columns.Add(Expression); 673tempSchemaTable.Columns.Add(ColumnMapping); 674tempSchemaTable.Columns.Add(BaseTableNamespace); 675tempSchemaTable.Columns.Add(BaseColumnNamespace); 677foreach (DataColumn dc in table.Columns) {
fx\src\data\System\Data\DataTableReaderListener.cs (4)
51currentDataTable.Columns.ColumnPropertyChanged += new CollectionChangeEventHandler(SchemaChanged); 52currentDataTable.Columns.CollectionChanged += new CollectionChangeEventHandler(SchemaChanged); 67currentDataTable.Columns.ColumnPropertyChanged -= new CollectionChangeEventHandler(SchemaChanged); 68currentDataTable.Columns.CollectionChanged -= new CollectionChangeEventHandler(SchemaChanged);
fx\src\data\System\Data\DataView.cs (6)
1142if (!this.table.Columns.Contains(property.Name)) { // just check if column does not exist, we will handle duplicate column in Sort 1694columnNames = new string[Table.Columns.Count]; 1696columnNames[i] = Table.Columns[i].ColumnName; 1705DataColumn dc = Table.Columns[columnNames[i]]; 1709dt.Columns.Add(dc.Clone()); 1710columnIndexes[i] = Table.Columns.IndexOf(dc);
fx\src\data\System\Data\DataViewListener.cs (4)
92table.Columns.ColumnPropertyChanged += handlerCollection; 93table.Columns.CollectionChanged += handlerCollection; 115table.Columns.ColumnPropertyChanged -= handlerCollection; 116table.Columns.CollectionChanged -= handlerCollection;
fx\src\data\System\Data\Filter\AggregateNode.cs (1)
106this.column = childTable.Columns[columnName];
fx\src\data\System\Data\Filter\LookupNode.cs (1)
60this.column = parentTable.Columns[columnName];
fx\src\data\System\Data\Filter\NameNode.cs (1)
45this.column = table.Columns[name];
fx\src\data\System\Data\ForeignKeyConstraint.cs (8)
643iDest = table.Columns.IndexOf(src.ColumnName); 646columns[i] = table.Columns[iDest]; 649iDest = relatedTable.Columns.IndexOf(src.ColumnName); 652relatedColumns[i] = relatedTable.Columns[iDest]; 678iDest = destination.Columns.IndexOf(src.ColumnName); 681columns[i] = destination.Columns[iDest]; 684iDest = destination.Columns.IndexOf(src.ColumnName); 687relatedColumns[i] = destination.Columns[iDest];
fx\src\data\System\Data\Merger.cs (17)
62foreach(DataColumn dc in dt.Columns) { 94foreach(DataColumn dc in sourceTable.Columns) { // Should we overwrite the previous expression column? No, refer to spec, if it is new column we need to add the schema 96DataColumn targetColumn = targetTable.Columns[dc.ColumnName]; 300int oldCount = targetTable.Columns.Count; 301for (int i = 0; i < table.Columns.Count; i++) { 302DataColumn src = table.Columns[i]; 303DataColumn dest = (targetTable.Columns.Contains(src.ColumnName, true)) ? targetTable.Columns[src.ColumnName] : null; 307targetTable.Columns.Add(dest); 333for (int i = oldCount; i < targetTable.Columns.Count; i++) { 334targetTable.Columns[i].Expression = table.Columns[targetTable.Columns[i].ColumnName].Expression; 347key[i] = targetTable.Columns[tablePKey[i].ColumnName]; 501parentColumns[i] = parent.Columns[relation.ParentKey.ColumnsReference[i].ColumnName]; 502childColumns[i] = child.Columns[relation.ChildKey.ColumnsReference[i].ColumnName]; 550srcColumns[j] = src.Columns[dstColumns[j].ColumnName];
fx\src\data\System\Data\Odbc\OdbcDataReader.cs (19)
1927DataColumnCollection columns = schematable.Columns; 1978DataColumn columnName = schematable.Columns["ColumnName"]; 1979DataColumn columnOrdinal = schematable.Columns["ColumnOrdinal"]; 1980DataColumn columnSize = schematable.Columns["ColumnSize"]; 1981DataColumn numericPrecision = schematable.Columns["NumericPrecision"]; 1982DataColumn numericScale = schematable.Columns["NumericScale"]; 1983DataColumn dataType = schematable.Columns["DataType"]; 1984DataColumn providerType = schematable.Columns["ProviderType"]; 1985DataColumn isLong = schematable.Columns["IsLong"]; 1986DataColumn allowDBNull = schematable.Columns["AllowDBNull"]; 1987DataColumn isReadOnly = schematable.Columns["IsReadOnly"]; 1988DataColumn isRowVersion = schematable.Columns["IsRowVersion"]; 1989DataColumn isUnique = schematable.Columns["IsUnique"]; 1990DataColumn isKey = schematable.Columns["IsKey"]; 1991DataColumn isAutoIncrement = schematable.Columns["IsAutoIncrement"]; 1992DataColumn baseSchemaName = schematable.Columns["BaseSchemaName"]; 1993DataColumn baseCatalogName = schematable.Columns["BaseCatalogName"]; 1994DataColumn baseTableName = schematable.Columns["BaseTableName"]; 1995DataColumn baseColumnName = schematable.Columns["BaseColumnName"];
fx\src\data\System\Data\Odbc\odbcmetadatafactory.cs (25)
85DataColumn populationMechanism = metaDataCollectionsTable.Columns[_populationMechanism]; 86DataColumn collectionName = metaDataCollectionsTable.Columns[_collectionName]; 89restrictionCollectionName = restrictionsTable.Columns[_collectionName]; 196DataColumn typeNameColumn = dataTypesTable.Columns[DbMetaDataColumnNames.TypeName]; 197DataColumn providerDbTypeColumn = dataTypesTable.Columns[DbMetaDataColumnNames.ProviderDbType]; 198DataColumn columnSizeColumn = dataTypesTable.Columns[DbMetaDataColumnNames.ColumnSize]; 199DataColumn createParametersColumn = dataTypesTable.Columns[DbMetaDataColumnNames.CreateParameters]; 200DataColumn dataTypeColumn = dataTypesTable.Columns[DbMetaDataColumnNames.DataType]; 201DataColumn isAutoIncermentableColumn = dataTypesTable.Columns[DbMetaDataColumnNames.IsAutoIncrementable]; 202DataColumn isCaseSensitiveColumn = dataTypesTable.Columns[DbMetaDataColumnNames.IsCaseSensitive]; 203DataColumn isFixedLengthColumn = dataTypesTable.Columns[DbMetaDataColumnNames.IsFixedLength]; 204DataColumn isFixedPrecisionScaleColumn = dataTypesTable.Columns[DbMetaDataColumnNames.IsFixedPrecisionScale]; 205DataColumn isLongColumn = dataTypesTable.Columns[DbMetaDataColumnNames.IsLong]; 206DataColumn isNullableColumn = dataTypesTable.Columns[DbMetaDataColumnNames.IsNullable]; 207DataColumn isSearchableColumn = dataTypesTable.Columns[DbMetaDataColumnNames.IsSearchable]; 208DataColumn isSearchableWithLikeColumn = dataTypesTable.Columns[DbMetaDataColumnNames.IsSearchableWithLike]; 209DataColumn isUnsignedColumn = dataTypesTable.Columns[DbMetaDataColumnNames.IsUnsigned]; 210DataColumn maximumScaleColumn = dataTypesTable.Columns[DbMetaDataColumnNames.MaximumScale]; 211DataColumn minimumScaleColumn = dataTypesTable.Columns[DbMetaDataColumnNames.MinimumScale]; 212DataColumn literalPrefixColumn = dataTypesTable.Columns[DbMetaDataColumnNames.LiteralPrefix]; 213DataColumn literalSuffixColumn = dataTypesTable.Columns[DbMetaDataColumnNames.LiteralSuffix]; 214DataColumn SQLTypeNameColumn = dataTypesTable.Columns[OdbcMetaDataColumnNames.SQLType]; 939DataColumn reservedWordColumn = reservedWordsTable.Columns[DbMetaDataColumnNames.ReservedWord]; 1024resultTable.Columns.Add(row["ColumnName"] as string, (Type)row["DataType"] as Type); 1027values = new object[resultTable.Columns.Count];
fx\src\data\System\Data\OleDb\OleDbCommandBuilder.cs (1)
175DataColumnCollection columns = table.Columns;
fx\src\data\System\Data\OleDb\OleDbConnectionInternal.cs (9)
385table.Columns.Add(literalName); 386table.Columns.Add(literalValue); 387table.Columns.Add(invalidChars); 388table.Columns.Add(invalidStart); 389table.Columns.Add(literal); 390table.Columns.Add(maxlen); 432table.Columns.Add(keyword); 480table.Columns.Add(schemaGuid); 481table.Columns.Add(restrictionSupport);
fx\src\data\System\Data\OleDb\OledbConnectionStringbuilder.cs (2)
630DataColumn column2 = table.Columns["SOURCES_NAME"]; 631DataColumn column5 = table.Columns["SOURCES_TYPE"];
fx\src\data\System\Data\OleDb\OleDbDataReader.cs (3)
333DataColumnCollection columns = schemaTable.Columns; 1857DataColumnCollection dataColumns = table.Columns; 1908DataColumnCollection dataColumns = table.Columns;
fx\src\data\System\Data\OleDb\OleDbMetaDataFactory.cs (42)
87DataColumn populationMechanism = metaDataCollectionsTable.Columns[_populationMechanism]; 91DataColumn collectionName = metaDataCollectionsTable.Columns[_collectionName]; 97restrictionCollectionName = restrictionsTable.Columns[_collectionName]; 349dataTypesTable.Columns[DbMetaDataColumnNames.TypeName], 350dataTypesTable.Columns[DbMetaDataColumnNames.ColumnSize], 351dataTypesTable.Columns[DbMetaDataColumnNames.CreateParameters], 352dataTypesTable.Columns[DbMetaDataColumnNames.IsAutoIncrementable], 353dataTypesTable.Columns[DbMetaDataColumnNames.IsCaseSensitive], 354dataTypesTable.Columns[DbMetaDataColumnNames.IsFixedLength], 355dataTypesTable.Columns[DbMetaDataColumnNames.IsFixedPrecisionScale], 356dataTypesTable.Columns[DbMetaDataColumnNames.IsLong], 357dataTypesTable.Columns[DbMetaDataColumnNames.IsNullable], 358dataTypesTable.Columns[DbMetaDataColumnNames.IsUnsigned], 359dataTypesTable.Columns[DbMetaDataColumnNames.MaximumScale], 360dataTypesTable.Columns[DbMetaDataColumnNames.MinimumScale], 361dataTypesTable.Columns[DbMetaDataColumnNames.LiteralPrefix], 362dataTypesTable.Columns[DbMetaDataColumnNames.LiteralSuffix], 363dataTypesTable.Columns[OleDbMetaDataColumnNames.NativeDataType]}; 366providerTypesTable.Columns["TYPE_NAME"], 367providerTypesTable.Columns["COLUMN_SIZE"], 368providerTypesTable.Columns["CREATE_PARAMS"], 369providerTypesTable.Columns["AUTO_UNIQUE_VALUE"], 370providerTypesTable.Columns["CASE_SENSITIVE"], 371providerTypesTable.Columns["IS_FIXEDLENGTH"], 372providerTypesTable.Columns["FIXED_PREC_SCALE"], 373providerTypesTable.Columns["IS_LONG"], 374providerTypesTable.Columns["IS_NULLABLE"], 375providerTypesTable.Columns["UNSIGNED_ATTRIBUTE"], 376providerTypesTable.Columns["MAXIMUM_SCALE"], 377providerTypesTable.Columns["MINIMUM_SCALE"], 378providerTypesTable.Columns["LITERAL_PREFIX"], 379providerTypesTable.Columns["LITERAL_SUFFIX"], 380providerTypesTable.Columns["DATA_TYPE"]}; 384DataColumn isSearchable = dataTypesTable.Columns[DbMetaDataColumnNames.IsSearchable]; 385DataColumn isSearchableWithLike = dataTypesTable.Columns[DbMetaDataColumnNames.IsSearchableWithLike]; 386DataColumn providerDbType = dataTypesTable.Columns[DbMetaDataColumnNames.ProviderDbType]; 387DataColumn clrType = dataTypesTable.Columns[DbMetaDataColumnNames.DataType]; 388DataColumn isLong = dataTypesTable.Columns[DbMetaDataColumnNames.IsLong]; 389DataColumn isFixed = dataTypesTable.Columns[DbMetaDataColumnNames.IsFixedLength]; 390DataColumn sourceOleDbType = providerTypesTable.Columns["DATA_TYPE"]; 392DataColumn searchable = providerTypesTable.Columns["SEARCHABLE"]; 465DataColumn reservedWordColumn = reservedWordsTable.Columns[DbMetaDataColumnNames.ReservedWord];
fx\src\data\System\Data\ProviderBase\DbMetaDataFactory.cs (15)
93destinationColumns = destinationTable.Columns; 126DataColumn populationStringColumn = metaDataCollectionsTable.Columns[_populationString]; 127DataColumn numberOfRestrictionsColumn = metaDataCollectionsTable.Columns[_numberOfRestrictions]; 128DataColumn collectionNameColumn = metaDataCollectionsTable.Columns[_collectionName]; 190resultTable.Columns.Add(row["ColumnName"] as string, (Type)row["DataType"] as Type); 192object[] values = new object[resultTable.Columns.Count]; 214foreach (DataColumn sourceColumn in sourceTable.Columns){ 227foreach(DataColumn sourceColumn in sourceTable.Columns){ 250DataColumn collectionNameColumn = metaDataCollectionsTable.Columns[DbMetaDataColumnNames.CollectionName]; 316DataColumn versionColumn = dataSourceInfoTable.Columns[_dataSourceProductVersion]; 317DataColumn normalizedVersionColumn = dataSourceInfoTable.Columns[_dataSourceProductVersionNormalized]; 347restrictionColumns = restrictionsTable.Columns; 384DataColumn populationMechanismColumn = metaDataCollectionsTable.Columns[_populationMechanism]; 385DataColumn collectionNameColumn = metaDataCollectionsTable.Columns[DbMetaDataColumnNames.CollectionName]; 490DataColumnCollection tableColumns = requestedCollectionRow.Table.Columns;
fx\src\data\System\Data\ProviderBase\SchemaMapping.cs (10)
177DataColumnCollection columns = dataRow.Table.Columns; 402parentChapterColumn = _dataTable.Columns[i]; 406parentChapterColumn = _dataTable.Columns[_indexMap[i]]; 463column.Table.Columns.Remove(column); 489DataColumnCollection columnCollection = _dataTable.Columns; 492bool alwaysCreateColumns = ((_dataTable.Columns.Count == 0) && ((_tableMapping.ColumnMappings == null) || (_tableMapping.ColumnMappings.Count == 0)) && (mappingAction == MissingMappingAction.Passthrough)); 610columnCollection = _dataTable.Columns; 654|| (0 == _dataTable.Columns.Count)); // MDAC 67033 673DataColumnCollection columnCollection = _dataTable.Columns; 980DataColumnCollection columns = schemaRow.Table.Columns;
fx\src\data\System\Data\RecordManager.cs (5)
69for (int i = 0; i < table.Columns.Count; i++) { 70table.Columns[i].SetCapacity(value); 200int count = table.Columns.Count; 202DataColumn dstColumn = table.Columns[i]; 203DataColumn srcColumn = src.Columns[dstColumn.ColumnName];
fx\src\data\System\Data\Select.cs (3)
252candidateColumns = new ColumnInfo[this.table.Columns.Count]; 301ndxFields[j++] = new IndexField(this.table.Columns[i], isDescending: false); 345ndxFields[j++] = new IndexField(this.table.Columns[i], isDescending: false);
fx\src\data\System\Data\Selection.cs (2)
101: this(table, GetAllFields(table.Columns), comparison, recordStates, rowFilter) { } 132DataColumnCollection columns = table.Columns;
fx\src\data\System\Data\Sql\SqlDataSourceEnumerator.cs (5)
97dataTable.Columns.Add(ServerName, typeof(string)); 98dataTable.Columns.Add(InstanceName, typeof(string)); 99dataTable.Columns.Add(IsClustered, typeof(string)); 100dataTable.Columns.Add(Version, typeof(string)); 157foreach(DataColumn column in dataTable.Columns) {
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (7)
1080t = _dataTableSource.Columns[sourceOrdinal].DataType; 1548WriteRowSourceToServerAsync(table.Columns.Count, CancellationToken.None); //It returns null since _isAsyncBulkCopy = false; 1585WriteRowSourceToServerAsync(table.Columns.Count, CancellationToken.None); //It returns null since _isAsyncBulkCopy = false; 1634resultTask = WriteRowSourceToServerAsync(table.Columns.Count, cancellationToken); //It returns Task since _isAsyncBulkCopy = true; 1737resultTask = WriteRowSourceToServerAsync(table.Columns.Count, cancellationToken); //It returns Task since _isAsyncBulkCopy = true; 1893index = ((DataTable)_rowSource).Columns.IndexOf(unquotedColumnName); 1896index = ((DataRow[])_rowSource)[0].Table.Columns.IndexOf(unquotedColumnName);
fx\src\data\System\Data\SqlClient\SqlConnectionStringBuilder.cs (2)
1334DataColumn serverName = table.Columns[System.Data.Sql.SqlDataSourceEnumerator.ServerName]; 1335DataColumn instanceName = table.Columns[System.Data.Sql.SqlDataSourceEnumerator.InstanceName];
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (1)
473DataColumnCollection columns = schemaTable.Columns;
fx\src\data\System\Data\SqlClient\SqlDataReaderSmi.cs (1)
514DataColumnCollection columns = schemaTable.Columns;
fx\src\data\System\Data\SqlClient\sqlmetadatafactory.cs (13)
70DataColumn providerDbtype = dataTypesTable.Columns[DbMetaDataColumnNames.ProviderDbType]; 71DataColumn columnSize = dataTypesTable.Columns[DbMetaDataColumnNames.ColumnSize]; 72DataColumn isFixedLength = dataTypesTable.Columns[DbMetaDataColumnNames.IsFixedLength]; 73DataColumn isSearchable = dataTypesTable.Columns[DbMetaDataColumnNames.IsSearchable]; 74DataColumn isLiteralSupported = dataTypesTable.Columns[DbMetaDataColumnNames.IsLiteralSupported]; 75DataColumn typeName = dataTypesTable.Columns[DbMetaDataColumnNames.TypeName]; 76DataColumn isNullable = dataTypesTable.Columns[DbMetaDataColumnNames.IsNullable]; 193DataColumn providerDbtype = dataTypesTable.Columns[DbMetaDataColumnNames.ProviderDbType]; 194DataColumn columnSize = dataTypesTable.Columns[DbMetaDataColumnNames.ColumnSize]; 195DataColumn isSearchable = dataTypesTable.Columns[DbMetaDataColumnNames.IsSearchable]; 196DataColumn isLiteralSupported = dataTypesTable.Columns[DbMetaDataColumnNames.IsLiteralSupported]; 197DataColumn typeName = dataTypesTable.Columns[DbMetaDataColumnNames.TypeName]; 198DataColumn isNullable = dataTypesTable.Columns[DbMetaDataColumnNames.IsNullable];
fx\src\data\System\Data\SqlClient\SqlParameter.cs (8)
1097if (dt.Columns.Count <= 0) { 1100fields = new List<MSS.SmiExtendedMetaData>(dt.Columns.Count); 1101bool[] keyCols = new bool[dt.Columns.Count]; 1113for(int i=0; i<dt.Columns.Count; i++) { 1114fields.Add(MSS.MetaDataUtilsSmi.SmiMetaDataFromDataColumn(dt.Columns[i], dt)); 1118if (!hasKey && dt.Columns[i].Unique) { 1279int ordinalForIsKey = schema.Columns[SchemaTableColumn.IsKey].Ordinal; 1280int ordinalForColumnOrdinal = schema.Columns[SchemaTableColumn.ColumnOrdinal].Ordinal;
fx\src\data\System\Data\UniqueConstraint.cs (4)
275iDest = table.Columns.IndexOf(src.ColumnName); 278columns[i] = table.Columns[iDest]; 297int iDest = table.Columns.IndexOf(src.ColumnName); 300columns[i] = table.Columns[iDest];
fx\src\data\System\Data\XDRSchema.cs (4)
339column = table.Columns[instanceName, _schemaUri]; 441table.Columns.Add(column); 575DataColumn col = table.Columns[list[i], _schemaUri]; 641table.Columns[0].ColumnName = tbName + "_Column";
fx\src\data\System\Data\XmlDataLoader.cs (5)
188DataColumnCollection columns = row.Table.Columns; 429foreach( DataColumn c in row.Table.Columns ) { 507foundColumns = new bool[topMostRow.Table.Columns.Count]; 680DataColumnCollection collection = table.Columns; // Hold column collectio here 833DataColumnCollection collection = table.Columns; // Hold column collectio here
fx\src\data\System\Data\XMLDiffLoader.cs (5)
193DataColumn col = table.Columns[XmlConvert.DecodeName(ssync.LocalName), ssync.NamespaceURI]; 241DataColumn col = table.Columns[XmlConvert.DecodeName(ssync.LocalName), ssync.NamespaceURI]; 299foreach (DataColumn col in table.Columns) { 303foreach (DataColumn col in table.Columns) { 345DataColumn column = table.Columns[ln, ns];
fx\src\data\System\Data\xmlsaver.cs (19)
313for(int c = 0; c < table.Columns.Count; c ++) { 314if(_PropsNotEmpty(table.Columns[c].extendedProperties)) { 375foreach (DataColumn col in dt.Columns) { 1365foreach(DataColumn col in table.Columns) { 1526DataColumnCollection columns = table.Columns; 1551DataColumn col = table.Columns[0]; 2098int colCount = table.Columns.Count; 2121DataColumn column = table.Columns[colNum]; 2165int colCount = table.Columns.Count; 2194if ((row.Table.Columns[colNum].ColumnMapping == MappingType.Attribute) || 2195(row.Table.Columns[colNum].ColumnMapping == MappingType.Hidden)) 2196GenerateColumn(row, row.Table.Columns[colNum], DataRowVersion.Original); 2199if ((row.Table.Columns[colNum].ColumnMapping == MappingType.Element) || 2200(row.Table.Columns[colNum].ColumnMapping == MappingType.SimpleContent)) 2201GenerateColumn(row, row.Table.Columns[colNum], DataRowVersion.Original); 2403int colCount = row.Table.Columns.Count; 2409DataColumn column = row.Table.Columns[colNum]; 2565foreach( DataColumn col in row.Table.Columns ) 2592foreach( DataColumn col in row.Table.Columns )
fx\src\data\System\Data\XMLSchema.cs (35)
98if (table.Columns.IndexOf(proposedName) >= 0) { 99for (int i=0; i <= table.Columns.Count; i++) { 101if (table.Columns.IndexOf(tempName) >= 0) { 431parentKey[i] = parent.Columns[XmlConvert.DecodeName(parentNames[i])]; 434childKey[i] = child.Columns[XmlConvert.DecodeName(childNames[i])]; 603foreach(DataColumn dc in dt.Columns) { 825foreach(DataColumn dc in table.Columns) { 1001DataColumn col = table.Columns[colName]; 1273if (!FromInference ||(isSimpleContent && table.Columns.Count == 0 )) {// for inference backward compatability 1280while (table.Columns[colName] != null) 1287table.Columns[0].ColumnName = colName; 1288table.Columns[0].ColumnMapping = MappingType.SimpleContent; 1415for (int i=0; i < table.Columns.Count ; i++) 1416table.Columns[i].SetOrdinalInternal(i); 1492foreach (DataColumn dc in table.Columns) { 1730while (table.Columns[colName] != null) { 1739if ((!isBase) && (table.Columns.Contains(columnName, true))){ 1740column = table.Columns[columnName]; 1792if(ordinal>-1 && ordinal<table.Columns.Count) 1793table.Columns.AddAt(ordinal, column); 1795table.Columns.Add(column); 1828while (table.Columns[colName] != null) { 1838if ((!isBase) && (table.Columns.Contains(columnName, true))){ 1839column = table.Columns[columnName]; 1883if(ordinal>-1 && ordinal<table.Columns.Count) 1884table.Columns.AddAt(ordinal, column); 1886table.Columns.Add(column); 1954if ((!isBase || FromInference) && (table.Columns.Contains(columnName, true))) { 1955column = table.Columns[columnName]; 2008table.Columns.Add(column); 2115if (((!isBase) || FromInference) && (table.Columns.Contains(columnName, true))) { 2116column = table.Columns[columnName]; 2189if(ordinal>-1 && ordinal<table.Columns.Count) 2190table.Columns.AddAt(ordinal, column); 2192table.Columns.Add(column);
fx\src\data\System\Data\XmlToDatasetMap.cs (5)
85this.ColumnsSchemaMap = new XmlNodeIdHashtable(tableSchema.Columns.Count); 245foreach( DataColumn c in t.Columns ) { 280foreach( DataColumn c in t.Columns ) { // Add column schema map 324foreach( DataColumn c in dataTable.Columns ) { 351foreach( DataColumn c in t.Columns ) { // Add column information
fx\src\data\System\NewXml\DataPointer.cs (1)
118DataColumnCollection columns = table.Columns;
fx\src\data\System\NewXml\DataSetMappper.cs (2)
50foreach( DataColumn c in t.Columns ) { 223DataColumnCollection columns = table.Columns;
fx\src\data\System\NewXml\XmlDataDocument.cs (10)
291t.Columns.CollectionChanging += new CollectionChangeEventHandler( this.OnTableColumnsChanging ); 293foreach( DataColumn col in t.Columns ) { 341foreach( DataColumn col in dt.Columns ) { 613foreach( DataColumn col in row.Table.Columns ) { 1459foreach( DataColumn c in row.Table.Columns ) 1464foreach( DataColumn c in row.Table.Columns ) 1900foreach( DataColumn c in row.Table.Columns ) { 1918foreach( DataColumn c in row.Table.Columns ) { 2294foreach( DataColumn c in row.Table.Columns ) { 2305foreach( DataColumn c in row.Table.Columns ) {
fx\src\data\System\NewXml\XPathNodePointer.cs (3)
367foreach( DataColumn col in row.Table.Columns ) { 513DataColumnCollection columns = table.Columns; 533DataColumnCollection columns = table.Columns;
System.Data.DataSetExtensions (5)
System\Data\DataRowComparer.cs (3)
172int count = leftRow.Table.Columns.Count; 173if (count != rightRow.Table.Columns.Count) 208if (row.Table.Columns.Count > 0)
System\Data\DataTableExtensions.cs (2)
164foreach (DataColumn column in current.Table.Columns) 166table.Columns.Add(column.ColumnName, column.DataType);
System.Data.Entity.Design (53)
System\Data\Entity\Design\SSDLGenerator\EntityStoreSchemaGeneratorDatabaseSchemaLoader.cs (1)
174object[] values = new object[table.Columns.Count];
System\Data\Entity\Design\SSDLGenerator\RelationshipDetailsCollection.cs (24)
242base.Columns.Add(this._columnPKCatalog); 244base.Columns.Add(this._columnPKSchema); 246base.Columns.Add(this._columnPKTable); 248base.Columns.Add(this._columnPKColumn); 250base.Columns.Add(this._columnFKCatalog); 252base.Columns.Add(this._columnFKSchema); 254base.Columns.Add(this._columnFKTable); 256base.Columns.Add(this._columnFKColumn); 258base.Columns.Add(this._columnOrdinal); 260base.Columns.Add(this._columnRelationshipName); 262base.Columns.Add(this._columnRelationshipId); 264base.Columns.Add(this._columnRelationshipIsCascadeDelete); 269this._columnPKCatalog = base.Columns[PK_CATALOG]; 270this._columnPKSchema = base.Columns[PK_SCHEMA]; 271this._columnPKTable = base.Columns[PK_TABLE]; 272this._columnPKColumn = base.Columns[PK_COLUMN]; 273this._columnFKCatalog = base.Columns[FK_CATALOG]; 274this._columnFKSchema = base.Columns[FK_SCHEMA]; 275this._columnFKTable = base.Columns[FK_TABLE]; 276this._columnFKColumn = base.Columns[FK_COLUMN]; 277this._columnOrdinal = base.Columns[ORDINAL]; 278this._columnRelationshipName = base.Columns[RELATIONSHIP_NAME]; 279this._columnRelationshipId = base.Columns[RELATIONSHIP_ID]; 280this._columnRelationshipIsCascadeDelete = base.Columns[RELATIONSHIP_IsCascadeDelete];
System\Data\Entity\Design\SSDLGenerator\TableDetailsCollection.cs (28)
255base.Columns.Add(this._columnCatalog); 257base.Columns.Add(this._columnSchema); 259base.Columns.Add(this._columnTable); 261base.Columns.Add(this._columnFieldColumn); 263base.Columns.Add(this._columnFieldOrdinal); 265base.Columns.Add(this._columnIsNullable); 267base.Columns.Add(this._columnDataType); 269base.Columns.Add(this._columnMaximumLength); 271base.Columns.Add(this._columnPrecision); 273base.Columns.Add(this._columnDateTimePrecision); 275base.Columns.Add(this._columnScale); 277base.Columns.Add(this._columnIsIdentity); 279base.Columns.Add(this._columnIsServerGenerated); 281base.Columns.Add(this._columnIsPrimaryKey); 286this._columnCatalog = base.Columns[CATALOG]; 287this._columnSchema = base.Columns[SCHEMA]; 288this._columnTable = base.Columns[TABLE]; 289this._columnFieldColumn = base.Columns[COLUMN]; 290this._columnFieldOrdinal = base.Columns[ORDINAL]; 291this._columnIsNullable = base.Columns[IS_NULLABLE]; 292this._columnDataType = base.Columns[DATA_TYPE]; 293this._columnMaximumLength = base.Columns[MAX_LENGTH]; 294this._columnPrecision = base.Columns[PRECISION]; 295this._columnDateTimePrecision = base.Columns[DATETIMEPRECISION]; 296this._columnScale = base.Columns[SCALE]; 297this._columnIsIdentity = base.Columns[IS_IDENTITY]; 298this._columnIsServerGenerated = base.Columns[IS_SERVERGENERATED]; 299this._columnIsPrimaryKey = base.Columns[IS_PRIMARYKEY];
System.Web (44)
Handlers\TraceHandler.cs (1)
530en = datatable.Columns.GetEnumerator();
UI\TraceContext.cs (43)
662tab.Columns.Add(SR.Trace_No, inttype); 663tab.Columns.Add(SR.Trace_Time_of_Request, strtype); 664tab.Columns.Add(SR.Trace_Url, strtype); 665tab.Columns.Add(SR.Trace_Request_Type, strtype); 666tab.Columns.Add(SR.Trace_Status_Code, inttype); 667tab.Columns.Add(SR.Trace_Session_Id, strtype); 668tab.Columns.Add(SR.Trace_Request_Encoding, strtype); 669tab.Columns.Add(SR.Trace_Response_Encoding, strtype); 673tab.Columns.Add(SR.Trace_Parent_Id, strtype); 677tab.Columns.Add(col[0]); 680tab.Columns.Add(SR.Trace_Type, strtype); 681tab.Columns.Add(SR.Trace_Render_Size, inttype); 682tab.Columns.Add(SR.Trace_Viewstate_Size, inttype); 683tab.Columns.Add(SR.Trace_Controlstate_Size, inttype); 687tab.Columns.Add(SR.Trace_Session_Key, strtype); 688tab.Columns.Add(SR.Trace_Type, strtype); 689tab.Columns.Add(SR.Trace_Value, strtype); 693tab.Columns.Add(SR.Trace_Application_Key, strtype); 694tab.Columns.Add(SR.Trace_Type, strtype); 695tab.Columns.Add(SR.Trace_Value, strtype); 699tab.Columns.Add(SR.Trace_Name, strtype); 700tab.Columns.Add(SR.Trace_Value, strtype); 701tab.Columns.Add(SR.Trace_Size, inttype); 705tab.Columns.Add(SR.Trace_Name, strtype); 706tab.Columns.Add(SR.Trace_Value, strtype); 707tab.Columns.Add(SR.Trace_Size, inttype); 711tab.Columns.Add(SR.Trace_Name, strtype); 712tab.Columns.Add(SR.Trace_Value, strtype); 716tab.Columns.Add(SR.Trace_Name, strtype); 717tab.Columns.Add(SR.Trace_Value, strtype); 721tab.Columns.Add(SR.Trace_Name, strtype); 722tab.Columns.Add(SR.Trace_Value, strtype); 726tab.Columns.Add(SR.Trace_Name, strtype); 727tab.Columns.Add(SR.Trace_Value, strtype); 731tab.Columns.Add(SR.Trace_Category, strtype); 732tab.Columns.Add(SR.Trace_Warning, strtype); 733tab.Columns.Add(SR.Trace_Message, strtype); 734tab.Columns.Add(SR.Trace_From_First, doubletype); 735tab.Columns.Add(SR.Trace_From_Last, doubletype); 736tab.Columns.Add("ErrorInfoMessage", strtype); 737tab.Columns.Add("ErrorInfoStack", strtype); 741tab.Columns.Add(SR.Trace_Name, strtype); 742tab.Columns.Add(SR.Trace_Value, strtype);
System.Web.DataVisualization (18)
Common\DataManager\DataPoint.cs (14)
1171if (dataRow.Table.Columns.Contains(fieldName)) 1182if (!failed && columnIndex < dataRow.Table.Columns.Count && columnIndex >= 0) 1209if (dataRowView.DataView.Table.Columns.Contains(fieldName)) 1219if (!failed && columnIndex < dataRowView.DataView.Table.Columns.Count && columnIndex >= 0) 1380 if(((DataRow)enumerator.Current).Table.Columns.Contains(field)) 1382 columnDataType = ((DataRow)enumerator.Current).Table.Columns[field].DataType; 1394columnDataType = ((DataRow)enumerator.Current).Table.Columns[columnIndex].DataType; 1409 else if(((DataRow)enumerator.Current).Table.Columns.Count > 0) 1411 columnDataType = ((DataRow)enumerator.Current).Table.Columns[0].DataType; 1422 if(((DataRowView)enumerator.Current).DataView.Table.Columns.Contains(field)) 1424 columnDataType = ((DataRowView)enumerator.Current).DataView.Table.Columns[field].DataType; 1435columnDataType = ((DataRowView)enumerator.Current).DataView.Table.Columns[columnIndex].DataType; 1450 else if(((DataRowView)enumerator.Current).DataView.Table.Columns.Count > 0) 1452 columnDataType = ((DataRowView)enumerator.Current).DataView.Table.Columns[0].DataType;
Common\General\Chart.cs (1)
566foreach (DataColumn column in dataTable.Columns)
Common\General\DataManipulator.cs (3)
981 seriesTable.Columns.Add("X", columnType); 1000 seriesTable.Columns.Add("Y", columnType); 1004 seriesTable.Columns.Add("Y" + (yIndex + 1).ToString(System.Globalization.CultureInfo.InvariantCulture), columnType);
System.Web.Entity (2)
System\Data\WebControls\EntityDataSourceViewSchema.cs (2)
41Columns.Add(column); 88this.Columns.Add(column);
System.Web.Mobile (3)
UI\MobileControls\Design\ListDesigner.cs (3)
337Debug.Assert(_dummyDataTable != null && _dummyDataTable.Columns.Count > 1); 340_list.DataTextField = _dummyDataTable.Columns[0].ColumnName; 341_list.DataValueField = _dummyDataTable.Columns[1].ColumnName;
System.Windows.Forms.DataVisualization (18)
Common\DataManager\DataPoint.cs (14)
1171if (dataRow.Table.Columns.Contains(fieldName)) 1182if (!failed && columnIndex < dataRow.Table.Columns.Count && columnIndex >= 0) 1209if (dataRowView.DataView.Table.Columns.Contains(fieldName)) 1219if (!failed && columnIndex < dataRowView.DataView.Table.Columns.Count && columnIndex >= 0) 1380 if(((DataRow)enumerator.Current).Table.Columns.Contains(field)) 1382 columnDataType = ((DataRow)enumerator.Current).Table.Columns[field].DataType; 1394columnDataType = ((DataRow)enumerator.Current).Table.Columns[columnIndex].DataType; 1409 else if(((DataRow)enumerator.Current).Table.Columns.Count > 0) 1411 columnDataType = ((DataRow)enumerator.Current).Table.Columns[0].DataType; 1422 if(((DataRowView)enumerator.Current).DataView.Table.Columns.Contains(field)) 1424 columnDataType = ((DataRowView)enumerator.Current).DataView.Table.Columns[field].DataType; 1435columnDataType = ((DataRowView)enumerator.Current).DataView.Table.Columns[columnIndex].DataType; 1450 else if(((DataRowView)enumerator.Current).DataView.Table.Columns.Count > 0) 1452 columnDataType = ((DataRowView)enumerator.Current).DataView.Table.Columns[0].DataType;
Common\General\Chart.cs (1)
566foreach (DataColumn column in dataTable.Columns)
Common\General\DataManipulator.cs (3)
981 seriesTable.Columns.Add("X", columnType); 1000 seriesTable.Columns.Add("Y", columnType); 1004 seriesTable.Columns.Add("Y" + (yIndex + 1).ToString(System.Globalization.CultureInfo.InvariantCulture), columnType);