Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

What is the difference between these statements obj=null and obj.dispose()

4 Answers   Fulcrum Logic,


Which is faster hashtable or dictionary?

0 Answers  


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?

2 Answers  


What is the difference between // comments, /* */ comments and /// comments?

0 Answers  


Can fields inside a class be virtual?

0 Answers  


What are the properties of c#?

0 Answers  


Why to use “using” in c#?

0 Answers  


Is it possible to have different access modifiers on the get/set methods of a property?

0 Answers  


what is overloading & overriding

3 Answers   Fulcrum Logic, Synergy,


Difference between multi-level and multiple inheritance?

4 Answers   Microsoft,


Explain the difference between .net and c#?

0 Answers  


Is c# easier than c++?

0 Answers  


Categories