Select from following answers:- using dataset load method
- using dataadapter fill method
- using dataadapter FillSchema
- All of the above
- All Above
We can fill Dataset with the help of DataAdapter Fill Method as
DataSet ds = new DataSet();
SqlCommand cmd = new SqlCommand();
cmd.CommandText = "your query";
SqlDataAdapter da = new SqlDataAdapter(cmd);
da.Fill(ds);
Show Correct Answer
Asked In: Many Interviews |
Alert Moderator