What is the main difference between ADO and ADO.Net
Answers were Sorted based on User's Feedback
Answer / hhh
ADO- Connection-Oriented Architecture
Use Record Set
Communicate in Binary mode
Ado.net Dis-connected architecture
Use DataSet,Adapter
Parse Data in XML mode
| Is This Answer Correct ? | 27 Yes | 0 No |
Answer / jyoti
ADO was a connected data access model, which means that when
a connection to the database is made, the connection remains
open until the application is closed.
ADO.NET is disconnected database access model, which means
when an application interacts with the database, the
connection is opened to serve the request of the
application, and is closed as soon as the request is completed.
All data is presented in XML, as compared to ADO.
| Is This Answer Correct ? | 11 Yes | 2 No |
Answer / babina
The old ADO (ActiveX Data Object) has evolved to ADO.NET in
the .NET Framework. The ADO.NET object is a lightweight
object. The ADO Recordset was a huge object in ADO. It
provided the ability to support multiple types of cursors.
It provided fast lightweight "firehose" cursor and also
supported a disconnected client-side cursor that supported
tracking, optimistic locking, and automatic batch updates of
a central database. However, all of this functionality was
difficult to customize.
ADO.NET breaks the functionality of the ADO object to
multiple classes, thereby allowing a focused approach to
developing code. The ADO.NET DataReader is equivalent to the
"firehose" cursor. The DataSet is a disconnected cache with
tracking and control binding functionality. The DataAdapter
provides the ability to completely customize how the central
data store is updated with the changes to a DataSet.
| Is This Answer Correct ? | 6 Yes | 1 No |
ADO- Connection-Oriented Architecture
Use Record Set
Communicate in Binary mode
Ado.net Dis-connected architecture
Use DataSet,Adapter
Parse Data in XML mode
| Is This Answer Correct ? | 2 Yes | 0 No |
What is difference between datagridview and datagrid control in winforms?
What is aggregating data ?
How can we add relation between tables in a dataset?
how would i implement dropdownlist in gridview using c#
List the 4 common ado.net namespaces?
what is different between SqlCommand object and Command Behaviour Object
What is ado.net full form?
What is connection string?
What are advantages and disadvantages of Microsoft-provided data provider classes in ADO.NET?
i want 2 pass values(enterd in textbox)to table in sql server without using stored procedure in c#.plz tell me code with an example.
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();
Define atomicity?
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)