CoolInterview.com - World's Largest Collection of Interview Questions
Send Free SMS
 Interview Questions  
 Our Services  


INTERVIEW QUESTIONS MICROSOFT ADO.NET DETAILS
Question :
How to copy the contents from one table to another table and how to delete the source table in ado.net?


Category ADO.NET Interview Questions
Rating (0.0) By 0 users
Added on 8/12/2006
Views 1489
Rate it!
Answers:

May be there is a better way, but you can generating a datatable from source and load it to destination if the process is successful, execute the drop table query.



In sql we can copy data from one table to anouther by sqlbulckcopy object but the destination table have same schema if the process is successful, execute the drop table query.



 Posted by: rahilmohd    

Contact rahilmohd  Contact rahilmohd

To Copy Content From One table to other bother structure should be same
so we first fetch the schmea using clone method and then add/import the row in the datatable

source table cane be delete using
Drop Table Query



 Posted by: Ashok    

Contact Ashok  Contact Ashok


If you have the better answer, then send it to us. We will display your answer after the approval.
Name :*
Email Id :*
Answer :*
Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
Process Verification  Enter the above shown code:*
Inform me about updated answers to this question

   
Related Questions
View Answer
What is the difference between data reader and data adapter.

View Answer
How to copy the contents from one table to another table and how to delete the source table in ado.net?

View Answer
How to find the given query is optimised one or not?

View Answer
What is the execution procedure in oracle ?

View Answer
Can we connect two datareader to same data source using single connection at same time?

View Answer
Why can't we use Multiple inheritance and garbage collector paralelly in .net

View Answer
How many records can take clustured index in sql server




View Answer
Difference between SqlCommand and SqlCommandBuilder

View Answer
Why edit is not possible in repeater??

View Answer
What is the difference between data reader & data set




View Answer

Please Note: We keep on updating better answers to this site. Subscribe to our newsletter to get notified when better answer is posted.

Notify me when better answer is posted!
Email:

View ALL ADO.NET Interview Questions

User Options
Sponsored Links


Copyright ©2003-2010 CoolInterview.com, All Rights Reserved.
Privacy Policy | Terms and Conditions
Page URL: http://www.coolinterview.com/interview/10638/default.asp?cachecommand=bypass


Download Yahoo Messenger | Placement Papers| FREE SMS | ASP .Net Tutorial | Web Hosting | Free SMS | Dedicated Servers | Joke of the Day

0.95