5. What properties we used to call stored procedure in C#?
Answers were Sorted based on User's Feedback
Answer / sudip pachal
CommandObject.CommandType=CommandType.StoreProcedure;
CommandObject.CommandText="Sp";
CommandObject.Executenonquery();
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / 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 |
How to declare a property in a class?
Why attributes are used in c#?
Explain acid rule of thumb for transactions in c#.
What?s the difference between System.String and System.StringBuilder classes?
Why delegates are safe in c#?
What is namespace c#?
What can we do to handle multiple exceptions?
What are circular references?
What is the use of tryparse in c#?
why C#.net doesnot support prcedures and why it supports structs,functions
public void A() { int x; x = 8; x *= 4 + 8 / 2; } Given the above code, what is the value of "x"?
Can abstract class have constructor in c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)