5. What properties we used to call stored procedure in C#?

Answer Posted / anil singh

Sqlcommand cmd=new Sqlcommand ();
cmd.CommandType=CommandType.StoreProcedure;
cmd.CommandText="Name-of-StoreProcedure";
cmd.ExecuteNonQuery();

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is default class in c#?

496


Explain the types of comments in c#?

539


Which of these statements correctly declares a two-dimensional array in c#?

644


what is IEquatable

554


Differentiate between method overriding from method overloading with its functionality?

531






What is a framework in c#?

457


What is dll in c#?

496


Which debugging tools you can use in the .NET ssSDK?

541


What is attribute and reflection in c#?

467


C# called c sharp why?

541


What is web forms in c#?

492


Does c# support parameterized properties?

509


What is class method c#?

476


What do you mean by expression tree?

439


What is difference between encapsulation and abstraction in c#?

451