Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 264
  • Last Modified:

Naming the Datatables inside a DataSet

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?
0
HelpSunny
Asked:
HelpSunny
1 Solution
 
anvCommented:
1. Yes 6 tables will be stored
Are they fetching data from 6 different tables?
0
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
1)  => yes.
2) yes:


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


0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now