Ado.net compares the data sets

Asked By 0 points N/A Posted on -
qa-featured

How to compare the two data sets in Ado.net ?

SHARE
Best Answer by mmalkawi000
Answered By 0 points N/A #87886

Ado.net compares the data sets

qa-featured

In the comparison you can see here that ADO relies on COM whereas the ADO.NET relies on managed providers defined by the .NET CLR. ADO.NET cannot  replace ADO for the COM programmer; rather, it provides the .NET programmer with access to relational data sources, XML  and application data. In case of business model the Ado is used connection oriented models and Ado.net use the disconnected models. In Ado disconnected access is provided by record set and the  Ado.net by data adapter and data set. The XML support of Ado is limited and of Ado.net is robust support. For more detail check the link, http://en.wikipedia.org/wiki/Comparison_of_ADO_and_ADO.NET

Best Answer
Best Answer
Answered By 0 points N/A #87887

Ado.net compares the data sets

qa-featured

Hi boy,

I will explain how to compare between tow datasets using c# and you can modify this code to using in your application

First: you must modify tow datasets.

Second: you must fill tables in your datasets.

third: you must convert dataset to xml format using Getxml() function this function convert dataset to xml format and this converting provides to compare between it. If you need any extra information about xml format you can visit this site http://www.w3schools.com/xml/xml_whatis.asp

Finally: now you can compare tow datasets if it matched or not.

This picture explain that.

Login/Register to Answer

Related Questions