How to merge all data into a dataset

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi
This is the scenario:
I have one stored proc in database which accepts ServerName as parameter
and gives 'n' number of rows
In the UI I will select 'm' number of serverNames and I will call the
storedproc 'm' times. Each time when storedProc executes it will give n
number of rows. I want to capture all those rows (m*n) in one dataset and I
want to bind those rows into a grid.
Please tell me how to proceed and if possible give me some sample code.
Thanks
 
Anita,

In what way do you execute that stored procedure?

Normally a dataset.fill does an update of the dataset (not the database) and
refreshes it, so accoording what I understand from your question will the
dataset be filled more everytime you do the next fill.

Cor
 
Back
Top