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 need of z-order method?
What are the advantages of form?
Where to use new keyword other than create instance?
How to show a ContextMenuStrip instead of cthe default ContextMenuStrip,when you rightclick on the non client area of a window's Form or when alt+space keys are pressed
Explain how to net forms the windows?
What are the three states set in a checkstate property?
What is difference between winforms and windows forms?
Can you create a tabletype of recordset in Jet - connected ODBC dbengine?
What is the difference between desktop application and windows application?
how barcode print on the win form
Is form action required?
Which property of the errorprovider control automatically sets to the form to which?
What is the synonym of form?
What are the components of gui for windows?
What is formdata?