What is the difference between excute query and excute
nonquery.?
Answer Posted / bhagwat prasad sharma
1)>>> when we insert data into database, delete data from database, update data from database than use ExecuteNonQuery
statement .
but when we select data from database than use ExecuteQuery
statement . that solves
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is a web pool?
What is connection pooling and how to enable and disable connection pooling?
What is recordset asp?
What is clickid?
What is a 307 redirect?
Why Unload event of MasterPage Calls first in ASP.net ?
What is localhost in asp.net?
What are server objects?
i want to implement grid view value in paypal site. so how to create this code in asp.net with C#
Let's say I have an existing application written using vb6 and this application utilizes windows 2000 com+ transaction services. How would you approach migrating this application to.net?
What is the use of web.config file?
what are the Custom controls in asp.net?
What are type/key pairs in client script registration? Can there be 2 scripts with the same type/key pair name?
What are the two Layouts supported by a Web form in ASP.NET?
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?