Jump to content
Xtreme .Net Talk

Recommended Posts

  • *Experts*
Posted

First you need to create a new table to add, then all you need to

do is add that table to the DataSet's Tables collection, using its

add method.

 

Here ds is the dataset:

Dim dtMoo As New DataTable("Moo")

ds.Tables.Add(dtMoo)

 

Then dtMoo will be one of the DataSet's tables, and you can

access it by an index, its name, or the DataTable instance itself (dtMoo).

 

You can add as more tables to the DS using this same method.

 

[edit]Fixed up some stuff[/edit]

"Being grown up isn't half as fun as growing up

These are the best days of our lives"

-The Ataris, In This Diary

  • 6 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...