Which method do you invoke on the DataAdapter control to load your generated dataset with data?

Q

Which method do you invoke on the DataAdapter control to load your generated dataset with data?

✍: Guest

A

System.Data.Common.DataAdapter.Fill(System.Data.DataSet);
If my DataAdapter is sqlDataAdapter and my DataSet is dsUsers then it is called this way:
sqlDataAdapter.Fill(dsUsers);

2014-01-28, 1633👍, 0💬