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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top