Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What's the difference between Dataset.clone and Dataset.copy?

Answer Posted / dasaradhi

Clone -- Creates another reference (Pointer) to the same
location.

Copy -- Creates two different references to two different
Address Spaces

DataSet dsOriginal = new DataSet();
DataSet dsClone = dsOriginal.Clone();
DataSet dsCopy = dsCopy.Copy();

What does this mean?
Well, here is the answer.
If you make changes to dsClone, they will reflect in
dsOriginal also. where as you do changes to dsCopy, the
changes will not reflect in dsOriginal.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of ADO.NET and XML web services?

1046


Explain how to bind the controls(best practice) comboboxes to the data in the dataset?

1027


What is ole data type?

917


What is a datagridview?

1044


What is ado object model?

942


What is the difference between sqldatareader and sqldataadapter?

969


What is data relation?

917


What are the features of ado.net?

1039


What is the difference between oledb sql server and oledbdotnet provider?

1014


how Sequence to connect and retrieve data from database using dataset?

1295


Explain the difference between data reader and data set?

927


What is ado.net code?

930


Is datareader faster than datatable?

966


Which object needs to be closed?

2261


What are the methods of XML dataset object?

1027