Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting datarow type
Message
 
To
06/01/2004 10:23:58
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
00863189
Message ID:
00864402
Views:
16
I think he wants the dbType, which is something I've wanted for a long time too <g>... It be real nice if we could get to the underlying SQL data type not just the CLR type.

AS far as I can see you can't get it through a table - you have to read the schema to do this...

+++ Rick ---

>>>Ok, how about the type of a column in a datarow?<
>
>I'm not following you, Rex ... isn't that what I already posted?
>
>~~Bonnie
>
>
>>>>>How can I get the type of a datarow in a strongly typed datatable?<
>>>
>>>Rex,
>>>
>>>I assume you meant the type of a Column, not a DataRow.
>>>
>>>MyDataSet.MyTable[0].MyColumn.GetType();
>>>
>>>
>>>~~Bonnie
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform