DataAdapter to the new DataSet object??

Posted by Naimishforu under Others on 2/23/2011 | Points: 10 | Views : 966 | Status : [Member] [MVP] | Replies : 2
How to move data from the DataAdapter to the new DataSet object?

Thanks,
Naimish
http://dotnetinterview.zxq.net/
http://naimishpandya.blogspot.in/



Responses

Posted by: Madhu.b.rokkam on: 2/23/2011 [Member] [MVP] Bronze | Points: 25

Up
0
Down
DataAdapter has a fill method that takes dataset as a parameter use that to fill the dataset with the data in dataadapter.

da.fill(ds)


Thanks and Regards
Madhu

Naimishforu, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Naimishforu on: 2/23/2011 [Member] [MVP] Bronze | Points: 25

Up
0
Down
Okies.....Thanks...I'll try

Thanks,
Naimish
http://dotnetinterview.zxq.net/
http://naimishpandya.blogspot.in/

Naimishforu, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response