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
Name the property which of menu cannot be set at run time?
Name the class to be inherited for creating a custom control.
Which property of the errorprovider control automatically sets to the form to which?
What is a windows based application?
What is the difference between the add() and insert() methods of a listbox control?
What is form application?
Which dialog box allows users to switch to another area of the application?
What is window form application?
How many navigational features are provided by visual studio.net ide?
Explain how to split a column header in gridview using c#.net?
What are the different cloud platforms?
Suppose I have two combobox .. And I have some items in both combobox now I need to check the item in both combobox if same item is present in both combobox I need to display that item in message box?
How do you apply specific formatting to the data inside the cells?
Name the two main categories of .net components.
Are windows forms still used?