By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,676 Members | 1,636 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,676 IT Pros & Developers. It's quick & easy.

Unable to generate a Datset using OledbDataAdapter in VB.net

P: n/a
I am Using (Windows XP) Visual Studio.net 2003 professional edition working
on VB.net language.
I am bulding a very very simple project in VB.net where i connect to Access
Database by dragging OledbDataAdapter tool from the Data tab of the Toolbox.
When OledbDataAdapter has been added to the Component tray i am able to
generate a connection to Access database and generate Connection object and
also the Test Connection has Succeeded.
Now when i right click the DataAdapter in the Component tray and click
Generate Dataset and choose New Radio button option and click ok i get the
Following Error Message.

********Error:There were Problems generating Startup.08.Dataset1.To resolve
this Problem ,build

the Project ,fix any Errors,and themn generate the dataset again.***********

However the OledbDataAdapter added a file named "Dataset1.xsd" in the
Solution Explorer and also
i am able to view the contents of that Dataset1.xsd but unable to generate
the Dataset.

I have tried to build the project again where i dont have to........and also
checked for any possible errors.I haven't found any errors under my notice.
Please help me out with this specific

Problem.
So ,please help to generate the Dataset in design mode using
OledbDataAdapter tool from the Data
tab of ther tool box.
Nov 22 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Use the Configure DataAdapter wizard, and put in a very simple SQL statement
with no Where clause. Then Generate Dataset, does that work?

Jeff
"jtsree" <jt****@discussions.microsoft.com> wrote in message
news:C7**********************************@microsof t.com...
I am Using (Windows XP) Visual Studio.net 2003 professional edition working on VB.net language.
I am bulding a very very simple project in VB.net where i connect to Access Database by dragging OledbDataAdapter tool from the Data tab of the Toolbox. When OledbDataAdapter has been added to the Component tray i am able to
generate a connection to Access database and generate Connection object and also the Test Connection has Succeeded.
Now when i right click the DataAdapter in the Component tray and click
Generate Dataset and choose New Radio button option and click ok i get the
Following Error Message.

********Error:There were Problems generating Startup.08.Dataset1.To resolve this Problem ,build

the Project ,fix any Errors,and themn generate the dataset again.***********
However the OledbDataAdapter added a file named "Dataset1.xsd" in the
Solution Explorer and also
i am able to view the contents of that Dataset1.xsd but unable to generate
the Dataset.

I have tried to build the project again where i dont have to........and also checked for any possible errors.I haven't found any errors under my notice. Please help me out with this specific

Problem.
So ,please help to generate the Dataset in design mode using
OledbDataAdapter tool from the Data
tab of ther tool box.

Nov 22 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.