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


INTERVIEW QUESTIONS MICROSOFT ADO.NET DETAILS
Question :
Difference between SqlCommand and SqlCommandBuilder


Category ADO.NET Interview Questions
Rating (5.0) By 18 users
Added on 7/27/2006
Views 1684
Rate it!
Answers:

SQLCommand is used to retrieve or update the data from database.

You can use the SELECT / INSERT,UPDATE,DELETE command with SQLCommand. SQLCommand will execute these commnds in the database.

SQLBUILDER is used to build the SQL Command like SELECT/ INSERTR, UPDATE etc.



sqlcommand is used to execute query whereas commandbuilder we cannot type the full querye like update,insert it will automatically take the query



 Posted by: raju    

Contact raju  Contact raju

sqlcommand is class to writing the queries like select/delete/update/insert.and sqlcommandbuilder is also class but we can update/modify the transection of data on the database at run time.
da.update(sqlcommandbulder queries);



 Posted by: Jitendra Kumar    

Contact Jitendra Kumar  Contact Jitendra Kumar


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
Why edit is not possible in repeater??

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




View Answer
How can we load multiple tables in to Dataset?

View Answer
Does SQLClient and OLEdb class share the same functionality

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/8570/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.69