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 method that has to be overridden to change the appearance of the control that is inherited from an existing control.
Explain the difference between listbox and combo box?
Name the event that enables the user to prevent shifting of focus from control until all the validation rules have been met.
Which property value of the helpnavigator property will display the index for a specified topic?
How save rerecord in the database?
What are window applications?
Suppose I am implementing one windows form. I am inserting some values into ms access. In that table 5 columns there. But I want to insert three columns only. When I am clicking another button then other two values also insert into that table?
Explain about crystal report in brief?
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
What is the synonym of form?
What is form and its types?
What are window based applications?
Which method grants a lock on a resource?
What is a windows based application?
Can you create a tabletype of recordset in Jet - connected ODBC dbengine?