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

generating dataset

P: n/a
Hi,

Im trying to follow some instructions in a VB.net
development book and iv been told to select the 'Generate
Dataset' option from the toolbox, under the data menu.
The problem is i cannot see it listed there!!!!

Can anyone help me find this option??

thx in advance.
Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Angelina,
What is it that you cannot see listed? 'Generate DataSet' is not on the
toolbox, Dataset is on the toolbox.

To use "Generate DataSet" you need to have a DataSet added to your project
via 'Project - Add Item - DataSet'. Then under the Schema menu there is a
Generate Dataset option (or you can right click.

To define an DataSet field on your Form, UserControl or Component:
- Open a Form, UserControl or Component in design mode.
- Click 'View - Toolbox' to show the toolbox. The toolbox should be docked
along the side of VS.NET, normally it is on the left side of my VS.NET.
- Click on the 'Data' tab, it should be the first or second tab listed in
the toolbox, I have 'My User Controls' followed by 'Data'.
- Drag 'DataSet' from the toolbox onto the design surface of the item opened
earlier, I have 'Pointer' followed by 'DataSet' on my 'Data' tab of the
Toolbox.
- You should get a dialog box that pops asked if you want a typed or untyped
DataSet, you need to have used the GenerateDataset to get a typed dataset.

Hope this helps
Jay

"angelina" <lkjl@jkkj> wrote in message
news:01****************************@phx.gbl...
Hi,

Im trying to follow some instructions in a VB.net
development book and iv been told to select the 'Generate
Dataset' option from the toolbox, under the data menu.
The problem is i cannot see it listed there!!!!

Can anyone help me find this option??

thx in advance.

Nov 20 '05 #2

P: n/a
Hiya, For the Dataset generator to work, the form needs Connection and
Adapter objects to be present. Give this a try ...

Open Server Explorer and Drag and Drop the table you are interested in, on
to your form. This should create a Connection and a Data Adapter object on
your form. Now check the Data Menu, Dataset Generator should be enabled ...
"angelina" <lkjl@jkkj> wrote in message
news:01****************************@phx.gbl...
Hi,

Im trying to follow some instructions in a VB.net
development book and iv been told to select the 'Generate
Dataset' option from the toolbox, under the data menu.
The problem is i cannot see it listed there!!!!

Can anyone help me find this option??

thx in advance.

Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.