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 two important objects of ADO.Net?

970


How will you differentiate between ADO (ActiveX Data Object) and RDO (Remote Data Objects)?

970


Which method is used by command class to execute SQL statements that return single value?

984


What is ado.net architecture?

879


What is the use of connection object in ado.net?

995


Explain how do you connect to sql server database without using sqlclient?

942


Explain how to pass multiple tables in datasets simultaneously?

988


Explain which name space is used to get assembly details?

909


Which object of ado contains datarow datacolumn collection?

895


What are the 3 major types of connection objects in ado.net?

940


How do you connect to sql server database without using sqlclient?

1042


How to store data in memory?

892


Define atomicity?

976


Is ado.net dead?

956


Give an example of a .net application which connects to microsoft access database using ado.net classes.

1078