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 are the rules to implement connection pooling?

1120


Define partial class?

1027


What are the Data providers in ADO.Net?

1068


What connected data?

1024


What are the parameters that control most of connection pooling behaviors?

1048


What are the benefits of using of ADO.NET in .NET 4.0?

1154


What is basic use of data view?

1042


Explain sqlconnection object?

1067


What are the connected and disconnected modes in ado.net?

965


What is the executescalar method?

1172


What is difference between datagridview and datagrid control in winforms?

1088


What is the use of adodc?

1042


How to maintain the relation between two tables in ADO.NET?

1060


Which is faster entity framework or ado.net?

968


What is datatable in ado.net?

1010