Tutorials
Resources
Forum
Communities
Interview
Jobs
Projects
Offshore Development
Silverlight Tutorials
|
Mentor
|
Code Converter
|
Articles
|
Code Factory
|
Computer Jokes
|
Members
|
Peer Appraisal
|
IT Companies
|
Bookmarks
|
Revenue Sharing
|
Prizes & Awards
My Profile
Sign In
Register
AdSense Revenue
Active Members
Today
Murali
(50)
Abraham Kuriak...
(28)
Deepika Harida...
(26)
Last 7 Days
Deepika Harida...
(1175)
Pradeep Y
(997)
amarababu nara...
(961)
more...
New Feature:
Community Sites
:
Create your own .NET community website and start earning from Google AdSense !
It's Free !
Difference between DataTable's Clone and Copy Method
Posted Date: 15 Oct 2008 Resource Type:
Articles
Category:
.NET Framework
Posted By:
vinayaka krishna Shenoy
Member Level:
Silver
Rating:
Points
: 2
Clone method will copy only the structure of the Source datatable to the destination datatable, but Copy Method will copy both the data and structure of the Original Data table to the destiny data table.
Regards,
-Vinayak
Responses
Author:
T.Thirumala Reddy
22 Oct 2008
Member Level:
Bronze
Points
: 1
DataTable dt=new DataTable();
dt=ds.Tables[0].copy(); will copy all the data and structure to dt table
dt=ds.Table[0].clone(); will create only the structure of table not data.
Feedbacks
Popular Tags
What are tags ?
Search Tags
Sign In
DataTable
.
Clone and copy
.
Post Feedback
This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must
Sign In
to post a response.
Next Resource:
Adding data in the first line of datagridview
Previous Resource:
Difference between Delete and Remove in ADO.Net (DataTable)
Return to Discussion Resource Index
Post New Resource
Category:
.NET Framework
Post resources and
earn money
!
Related Resources
Adding Data table to dataset progrmatically
Xp Style Button
How to restrict a program to a single instance
FrameWork Tools
Tips in VB.NET - Tip #8
dotNet Slackers
BizTalk Adaptors
Web Design
masks masks masks
Contact Us
Privacy Policy
Terms Of Use