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#?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What Is An Interface Class?

1006


What's difference between constants and static readonly?

1088


What is event and delegates in c#?

934


Why do we use constructors in c#?

1044


What is namespace explain with example?

803


What is the relationship between a process, application domain, and application?

887


What is streamreader/streamwriter class?

886


What is difference between value and reference types in C#.NET

1025


What is an abstract class c#?

842


Can we declare class as protected?

920


Can I use ReaderWriterLock instead of Monitor.Enter/Exit for Threading?

925


How main method is called in c#?

898


What is the use of expression tree in c#?

824


What is void method?

889


What is the meaning of console writeline in c#?

825