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
Which is the best method to get two values from the database?
Explain ado.net features? Benefits? Drawbacks?
What are the key features of ado.net?
what is the difference betwen typed dataset and untyped dataset?in general which dataset can we use in programming?
What is Data view?
What is csdl entity framework?
What are different layers of ADO.Net?
Define ado.net?
What is ado.net components?
What is linq and entity framework?
What provider ado.net use by default? Explain the role of data provider in ado.net? What is the role of data provider in ado.net?
What is an ADO.Net?
Explain ODP.net
How can we load multiple tables in to dataset?
What is serialization and de-serialization in .net? How can we serialize the dataset object?