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
What Is An Interface Class?
What's difference between constants and static readonly?
What is event and delegates in c#?
Why do we use constructors in c#?
What is namespace explain with example?
What is the relationship between a process, application domain, and application?
What is streamreader/streamwriter class?
What is difference between value and reference types in C#.NET
What is an abstract class c#?
Can we declare class as protected?
Can I use ReaderWriterLock instead of Monitor.Enter/Exit for Threading?
How main method is called in c#?
What is the use of expression tree in c#?
What is void method?
What is the meaning of console writeline in c#?