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 are the data providers in ADO.NET framework?
What are the usages of the command object in ado.net?
What is the use of ADO.NET and XML web services?
What does executequery return?
What is ado.net in vb net?
What is a control toolbox?
What is a data control clerk?
What is disconnected architecture in ado.net?
What is ambient transaction?
How can we load multiple tables in to dataset?
Explain the difference in record set and dataset?
Some important instruction regarding ADO.NET connection string ?
What is microsoft ole db provider for sql server?
Explain how to call the sql commands asynchronously in ado.net version 2.0?
Do we use stored procedure in ADO.Net?