Microsoft Enterprise Library - LoadDataSet - Stored Procedure

  • Thread starter Thread starter Vivek Sharma
  • Start date Start date
V

Vivek Sharma

Hi,

Currently I am executing my store procedure using EXECUTEDATASET and
retreiving results in untyped dataset. I read somewhere that I can retreive
typed Dataset using LOADDATASET. I looked at the option and found

Database.LoadDataSet Method (DBCommandWrapper, DataSet, String)

Is it necessary to have TableName? What is the significance of TableName?

Thanks
 
Vivek said:
Hi,

Currently I am executing my store procedure using EXECUTEDATASET and
retreiving results in untyped dataset. I read somewhere that I can retreive
typed Dataset using LOADDATASET. I looked at the option and found

Database.LoadDataSet Method (DBCommandWrapper, DataSet, String)

Is it necessary to have TableName? What is the significance of TableName?

Thanks

The LoadDataSet is used to add tables/rows to an existing dataset, so it
should know which (existing or not) table to fill.
 
Back
Top