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

Do you use stored procedure in ado.net?

1010


How to load multiple tables into a dataset?

1034


What are the essential features of ado.net?

937


Describe the disconnected architecture of ADO.NET’s data access model.

1043


What is the difference between ado.net and oledb?

931


What is difference between datatable and dataset?

1043


Does executenonquery return a value?

933


What is full form of ado?

1035


What is defaultview in datatable?

1016


How do you update a dataset in ado.net and how do you update database through dataset?

910


What is disconnected architecture in ado.net?

968


What are the data access namespaces in .NET?

1189


How can we load multiple tables in to dataset?

1073


Does entity framework use ado.net?

960


What are good ado.net object to replace to ado recordset object.

1098