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 how many number of events does the timer controls?
What is form record?
What is the difference between desktop application and windows application?
Which window displays messages for the status of various features provided in the visual studio .net ide?
Explain how to add resources during runtime?
Name the property which of menu cannot be set at run time?
What are the forms of database?
How is anchoring different from docking?
Is windows an application software?
Which command prompt utility is used to convert a resource file from the text format into the binary format?
What are controls in windows forms?
What is form application?
How to use the FindControl() function to preselect an item in my dropdownlist?
Explain how insert record in the database?
What are the forms of graphics?