Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DataSet Tables Names
Message
From
17/09/2004 09:50:29
 
 
To
17/09/2004 08:45:12
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
00943051
Message ID:
00943326
Views:
20
Bill,

>The idea was to have the names already in place so the Tables could be accessed by name ...

Two words ... Typed DataSets ... <g>

~~Bonnie



>Hi Kevin,
>
>Yeah, I know I could name them after the fact. :-) The idea was to have the names already in place so the Tables could be accessed by name instead of ordinal number by order of creation. Would be nice but I'll work around it. Thanks for the reply.
>
>Bill
>
>>Hi, Bill,
>>
>>There may be a better way, but the only way I know to do it for multiple table results is the following, after you get the result set back from SQL into a dataset...
>>
>>
>>MyDataResults.Tables[0].TableName = "myTableOfCustomers";
>>MyDataResults.Tables[1].TableName = "myTableOfProducts";
>>
>>
>>If there's a better way to do this, I'd be interested to learn as well!
>>
>>Kevin
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Reply
Map
View

Click here to load this message in the networking platform