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

Define mutex in C#?

0 Answers  


How does array sort work?

0 Answers  


Tell me something about Exceptions. What is the common exception class?

4 Answers   HCL,


Why dictionary is faster than list?

0 Answers  


which datatype i have to use we i need dynamic size.for eg. empname .in first row it have only five chars.but next row it have 100 chars.

3 Answers  






What is better C# or VB.NET?

0 Answers  


What is xor operation?

0 Answers  


What is entity framework c#?

0 Answers  


Is stringbuilder better than string?

0 Answers  


This is Kishore i am MCA graduate i have percentage less(52%) in my 10th still i completed .NET course any body tell me how to put fake experience with my BSC degree if you do not mind tell me some fake certificates giving consultencies names in Chennai,Bangalore

5 Answers  


what is the Difference between the public and private ?

0 Answers   Microsoft,


What are sorted lists?

0 Answers  


Categories