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 |
What is the difference between these statements obj=null and obj.dispose()
Which is faster hashtable or dictionary?
7. C# provides a default constructor for me. I write a constructor that takes a string as a parameter, but want to keep the no parameter one. How many constructors should I write?
What is the difference between // comments, /* */ comments and /// comments?
Can fields inside a class be virtual?
What are the properties of c#?
Why to use “using” in c#?
Is it possible to have different access modifiers on the get/set methods of a property?
what is overloading & overriding
3 Answers Fulcrum Logic, Synergy,
Difference between multi-level and multiple inheritance?
Explain the difference between .net and c#?
Is c# easier than 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)