how to know the datatype of a field in a database?
-
hi, in the sql we have user_tab_coloumns to know the datatype of a field in a table by properly querying but my problem is i am using an oledbconnection in C# to connect to an access database and i want to know the datatype of a field of a table in that perticular database how to do that? pls help me. thanx in advance.
-
hi, in the sql we have user_tab_coloumns to know the datatype of a field in a table by properly querying but my problem is i am using an oledbconnection in C# to connect to an access database and i want to know the datatype of a field of a table in that perticular database how to do that? pls help me. thanx in advance.
How about the DbConnection.GetSchema method?
-
How about the DbConnection.GetSchema method?
-
It allows you to use c# to get the details of a database table, and its columns. Isn't that what you asked for?
-
hi, in the sql we have user_tab_coloumns to know the datatype of a field in a table by properly querying but my problem is i am using an oledbconnection in C# to connect to an access database and i want to know the datatype of a field of a table in that perticular database how to do that? pls help me. thanx in advance.