Results 1 to 3 of 3

Thread: How to Add tables in dataset

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2004
    Posts
    252

    How to Add tables in dataset

    Hi all, at first glance you would know that I am new at .net.

    I have created dataset with TABLE1.
    I want to add TABLE2 in dataset.

    what possible different options are there to add table in dataset ?

    Thank you for your unselfish help.

  2. #2
    Frenzied Member Mike Hildner's Avatar
    Join Date
    Jul 2002
    Location
    Des Moines, NM
    Posts
    1,690
    NANC,

    Three ways to add a table to the data set's data table collection. Search MSDN for "DataTableCollection.Add Method".

    There you will find complete descriptions of the overloaded Add method, complete with sample code.

    Mike

  3. #3
    Frenzied Member mar_zim's Avatar
    Join Date
    Feb 2004
    Location
    Toledo Cebu City.
    Posts
    1,416
    VB Code:
    1. dim ds as new dataset()
    2. ds.tables.add(new datatable("mzim"))

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width