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 ado.net connection?
What are the major difference between classic ADO and ADO.NET?
Explain which name space is used to get assembly details?
Command objects uses, purposes and their methods.
What is the executescalar method?
How can we load multiple tables in to dataset?
What are the advantages and drawbacks of using ado.net?
What are dataproviders?
Which object needs to be closed?
What is serialization and de-serialization in .net?
Explain the difference between sqlcommand object and command behavior object?
What is DataRowCollection?
What is dataadapter in ado.net?
Define ado.net?
What is shadow copy?