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
What is the usage of the dataset object in ado.net?
What is the full form of ado?
Explain ado.net features? Benefits? Drawbacks?
How to retrieve the user id which is provided while windows authentication?
What are the rules to implement connection pooling?
What is adodb dll?
What is ole2 format?
can we create synonymn in ms access,sql server,my sql if so explain me with example
What is data reader in ado.net?
Does dapper use ado.net?
How to identify the updated rows in a dataset?
What is data view and variable view?
Explain how to copy the contents from one table to another table and how to delete the source table in ado.net?
Define ado.net?
What do you know about ADO.NET's objects and methods?