Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DataTable must be set prior to using DataView.
Message
From
06/09/2004 04:58:27
Andrew Fell-Gordon
Calypso Publications Ltd
Enfield, United Kingdom
 
 
To
03/09/2004 12:42:20
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
00939075
Message ID:
00939683
Views:
16
Thanks. I'll give it a try

best regards

Andrew

>My guess, since you say you're doing this in the constructor, is that maybe the DataSet hasn't been instantiated yet? Not sure where you're doing that. Try moving this code to the Load event maybe?
>
>~~Bonnie
>
>
>>Thanks for the comments. I originally tried setting up the view as you suggest and set the sort expression at the same time in the constructor. That gave me the same error on the constructor line. So, having seen a comment on google groups that reported the same message but said they had cured it by creating the view first and then setting the table afterwards I changed to the code I have now.
>>
>>The error occurs when I set the sort property.
>>
>>As to why I am setting 2 default values, pure ignorance, I'm afraid.
>>
>>Regards
>>
>>Andrew
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform