Answer Posted / y.gangi reddy
SqlConnection cn = new SqlConnection("user id=sa;pwd=xxx;database=yyy;data source=.");
SqlDataAdapter da = new SqlDataAdapter("select * from tablename", cn);
DataSet ds = new DataSet();
da.Fill(ds, "tablename");
Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Explain the difference between listindex and tab index?
How can you pause a timer control?
Which of the following position is the default docking position of the statusstrip control on the form?
Name the event that enables the user to prevent shifting of focus from control until all the validation rules have been met.
What is a database form?
Is windows an application software?
Which method grants a lock on a resource?
What are window applications?
Which property is used to specify the use of an element in the user interface and reports it to the accessibility aids?
What is the synonym of form?
Which event occurs when a user drags an item in a treeview or listview control?
Which property of the errorprovider control automatically sets to the form to which?
Explain how save rerecord in the database?
Which window displays messages for the status of various features provided in the visual studio .net ide?
Explain about crystal report in brief?