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

Answers were Sorted based on User's Feedback



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

Answer / sudip pachal

CommandObject.CommandType=CommandType.StoreProcedure;
CommandObject.CommandText="Sp";
CommandObject.Executenonquery();

Is This Answer Correct ?    9 Yes 0 No

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

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

Post New Answer

More C Sharp Interview Questions

How assembly versioning in .NET prevent DLL Hell problem?

0 Answers   DELL,


Who introduced c#?

0 Answers  


How can you access a private method of a class?

0 Answers  


Explain how do you convert a value-type to a reference-type?

0 Answers  


What does f mean in c#?

0 Answers  






What is xml c#?

0 Answers  


What are the three types of operators?

0 Answers  


What does assemblyinfo.cs consists ?

4 Answers   Microsoft,


What is difference between singleton and static class in c#?

0 Answers  


what happens if you inherit multiple interfaces and they have conflicting method names?

0 Answers   Siebel Systems,


How do I develop c# apps?

0 Answers  


What are Namespaces?

0 Answers  


Categories