Call a stored procedure from ado.net and pass parameter to it ?
Answer Posted / guest
create con as connection object,cmd as command object
cmd.CommandType=CommandType.Storedprocedure
cmd.CommandText="storedprecedurename"
cmd.ExecuteNonQuery()
Is This Answer Correct ? | 16 Yes | 5 No |
Post New Answer View All Answers
How to create dynamic gridview?
What provider ado.net use by default? Explain the role of data provider in ado.net?
List all the steps in order, to access a database through ado.net?
What is datatable in ado.net?
How to copy the contents from one table to another table and how to delete the source table in ado.net?
What is ado.net and its architecture?
What are the key features of ado.net?
What is the functionality of data provider in ado.net?
Explain how to pass multiple tables in datasets simultaneously?
Can we do database operations without using any of the ado.net objects?
How do I delete a row from a DataTable?
What is dataset and datatable in ado.net?
How can we load multiple tables in to dataset?
What are good ado.net object to replace to ado recordset object.
What are the 3 major types of connection objects in ado.net?