What are the two fundamental objects in ADO.NET?
Answers were Sorted based on User's Feedback
Answer / nandini
DataSet and DataReader are the tow funadamental object in
ADO.NET
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / sandyni
Dataset which is disconnected and DataReader which is
connected are the two main fundamental objects of ADO.Net
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / spvarma
#1 is wrong remaings are correct
DataSet and DataReader are the tow funadamental object in
ADO.NET
| Is This Answer Correct ? | 3 Yes | 0 No |
what is trigger?
8 Answers Microsoft, Precept Technology,
How can you add or remove rows from the datatable object of dataset?
How do you update a dataset in ado.net and how do you update database through dataset?
How do you sort the data in datagrid?
How do you find the count of records in a dataset?
What is the provider being used to access oracle database?
OleDbDataAdapter ole=new OleDbDataAdapter(new OleDbCommand ("select * from login",oleDbConnection1)); OleDbCommandBuilder cmd=new OleDbCommandBuilder(ole); ole.Fill(dataSet11,"login"); DataRow drow=dataSet11.Tables ["login"].NewRow(); drow[0]=textBox1.Text; drow[1]=textBox2.Text; drow[2]=textBox3.Text; dataSet11.Tables["login"].Rows.Add (drow); ole.UpdateCommand=cmd.GetUpdateCommand(); ole.Update(dataSet11,"login"); MessageBox.Show("one row added"); this gives exception.how to solve it
How To Update A Column In A DataGrid Using C#.NET? I am getting InvalidCastException as (Specified cast is not valid) while updating 2nd column in a datagrid? Id,firstname,lastname are the three columns of my datagrid respectively. I wanted to edit the second column(lastname) and update it. I did the following code in DataGrid's updatecommand(),but failed to update ! Int varid=(int)DataGrid1.DataKeys[e.Item.ItemIndex]; TextBox lnm=(TextBox)e.Item.Cells[2].Controls[0]; string str=lnm.Text ; SqlCommand cmd=new SqlCommand("update customer set lastname='" + str + "' where id=" + varid + "",con); cmd.ExecuteNonQuery(); DataGrid1.EditItemIndex=- 1; DataGrid1.DataBind();
What are the parameters that control most of connection pooling behaviors?
Which object is used to add relationship between two Datatables?
Being fresher How would i answer to the question that what is your salary exception?
Which components of a data provider is used to retrieve, insert, delete, or modify data in a data source?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)