Windows Develop Bookmark and Share   
 index > Windows Forms Data Controls and Databinding > Find Dataset Column Types
 

Find Dataset Column Types

How do I find programmatically the types shown in the dataset schema

For example: for the dataset ID column I want to find int, for company name a string, etc

Steve
MigrationUser 1  Tuesday, September 14, 2004 4:08 PM
Easy,

dataset.tables(tablename).colums(ColumnName).datatype

Hope that's what you are looking for.
MigrationUser 1  Sunday, September 26, 2004 12:09 AM

You can use google to search for other answers

Custom Search

More Threads

• Control.Text property bound to a datarow.column_name does not work as expected
• Table or DatGrid...
• [c#]datagridviewcells value before insert in db
• Implementing ITypedList
• Insert into statement
• Error DataBinding to RadioButtons in ADO.NET
• .net 2.0 - datagridview clear a cell
• Binding with DictionaryBase
• Datagridview with maskedtextbox column from MS Sample
• Treeview sorting problem