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 difference between field and property in c#?
Can main method be final?
What is the purpose of constructor in c#?
What does console readline do in c#?
What is difference between method and function in c#?
What are c# collections?
What is the difference between an implicit conversion and an explicit conversion?
Is c# still popular?
int i = 1; int j = 1; System.Console.WriteLine(i == j); System.Console.WriteLine(i.ToString() == j.ToString()); System.Console.WriteLine((object)i == (object)j); Give the sample code above, what is the output to the console?
What is the difference between int and int in c#?
Explain the three services model (three-tier application). Presentation (ui), business (logic and underlying code) and data (from storage or other sources).
Can we have the method in drived class with the same name which is there in base class?
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)