p2p.wrox.com Forums

Need to download code?

View our list of code downloads.

  Return to Index  

aspdotnet_website_programming thread: Generated Dataset not recognised

Message #1 by "phillip" <philliptjohnson@h...> on Wed, 5 Mar 2003 08:45:16

I am an ASP.NET newbie, I have passed the windows apps VB.NET mcp exam 
though so I know a little about vb.net.

I am having problems generating a dataset.  I create a connection to an 
Access97 database in the serverexplorer window and then drag a table from 
the new connection into the component tray of a webform.  This creates 
connection and adapter objects, which I rename.  

Now, I right click on the adapter and select the generate dataset option 
from the context menu.  This creates a new xsd file with the name that I 
stipulate for the dataset (eg MyDataSet) and a dataset with the name of 
the xsd file postfixed 1 (eg MyDataSet1).

The problem is, I now have compilation errors and MyWebForm.MyDataSet is 
not apparently not declared.  

What am I doing wrong?

Any help appreciated.



  Return to Index