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
What is viewstate? What does the “enableviewstate” property do?
Which method is used to force all the validation controls to run?
What is the difference between Classic ASP and ASP.Net?
Where sessions are stored in asp.net?
What are httphandlers and httpmodules and difference between them?
Explain the various authentication mechanisms in asp.net.
How do you declare static variable? What is its lifetime?
How to do state management in ASP.NET?
What are all the various Estimation Techniques available ?
In a page I have gridview with options of select and delete using hyperlink when I am selecting any one of then it has to open another page how can it?
Differences between “dataset” and “datareader”.
What is the concept of postback in asp.net?
Which is the parent class of the web server control?
How will you maintain versioning in asp.net 2.0?
Explain the reason why the javascript validation not run on the asp.net button but run successfully on the html button?