Naming the Datatables inside a DataSet

Posted on 2009-12-17
Last Modified: 2012-05-08
I have a Dataset populated, by the execution of a stored procedure. This dataset has the results of the execution of six select queries. If I say six select queries, does it mean that,
1) Automatically on execution of the Stored Proc the Dataset contains six datables?
2) If at all the dataset contains six datables, How to name each one of them when the after the execution of the Stored Proc?
Question by:HelpSunny
    LVL 10

    Expert Comment

    1. Yes 6 tables will be stored
    Are they fetching data from 6 different tables?
    LVL 142

    Accepted Solution

    1)  => yes.
    2) yes:

    DataSet.Tables[0].Name = "Table1"
    DataSet.Tables[1].Name = "Table2"


    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
    Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now