Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot add DataSet to form
Message
From
10/05/2004 10:11:32
 
 
To
10/05/2004 05:49:54
Peter Walburn
Omega Data Services Ltd
Aberdeen, United Kingdom
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00902361
Message ID:
00902412
Views:
22
Peter,

I'm afraid I'm not going to be much help as to the cause of the problem. Sounds like VS got confused somewhere. Usually when things get a little weird in the IDE and it looks like you've lost things on your form, you haven't actually lost them. The code should still be there, but the IDE is having trouble displaying it. Check the code itself and see if your DataSet etc. is still there.

How are you adding a new DataSet? Dragging from the ToolBox? And this produces the error message you mentioned? This sounds very odd to me.

Also, if you have other projects in your solution, it could be other projects not compiling correctly that's causing the problem.

And lastly, you should try and see about upgrading to VS 2003 ... it's a lot less buggy than 2002 was!!!

Also, as a side issue ... you really shouldn't be putting your SqlDataAdapters on your form. The Data Access stuff does not really belong in the UI. You should be calling, at minimum, a Data Access Layer to handle that (and, typically there are more layers ... WebServices and Biz Layers for example).

~~Bonnie


>Hi,
>
>I have been using VB .Net 2002 for quite a while now and have had no (well very few) problems with it. I have lots of forms with DataSets and SqlDataAdapters on them. Everything has been fine.
>
>But now all of my DataSets and SqlDataAdapters have disappeared from the forms. I am unable to add any new ones to the forms. The error message I receive tells me to rebuild the project and fix any errors. But the project rebuilds without any errors.
>
>Can anyone shed any light on the situation please?
>
>Pete
Bonnie Berent DeWitt
NET/C# MVP since 2003

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

Click here to load this message in the networking platform