Interview Questions

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

ASP.NET and .NET WEB Questions and Answers


(Continued from previous question...)

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

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);

(Continued on next question...)

Other Interview Questions