What is the difference between excute query and excute
nonquery.?

Answer Posted / shreekant

execute qurey is used for a select statement
ex:"select * from employees";
execute nonquery is used when insert, update,delete statement.
ex:insert into employees values("yourrecirds");
delete from employees

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does session work?

497


Where the assembly is stored in asp.net?

542


What is a nested masterpage in asp.net 2.0? Can there be a master page inside a masterpage?

498


Explain security types in asp.net?

533


What are the security types in ASP/ASP.NET? Different Authentication modes?

552






Is it possible to create web application with both webforms and mvc?

524


what is meant by sitemapnode ?

1489


Is data edited in the Repeater control?

573


What do you mean by serialize?

543


Explain the difference between Repeater and Data list control in ASP.NET?

610


How can I have a particular web page in an asp.net application which displays its own error page?

519


What is master page in dtp?

539


How do you declare delegates and are delegates and events one and the same and explain how do you declare delegates and invoke them ?

3396


What is session and cookies in asp.net?

545


Explain repository pattern in asp.net mvc? : asp.net mvc

519