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...


How can you execute stored procedure from windows application?



How can you execute stored procedure from windows application?..

Answer / jigneshsanghvi


Stored proc. can be executed using command object by
ExecuteNonQuery method.

Sample Code :
Dim cnn as new sqlconnection
cnn.connectionstring=constr
cnn.open()

Dim cmd as new sqlcommand
cmd.connection=cnn
cmd.commandtext = "ProcName" & parameter list separated by comma
cmd.ExecuteNonQuery()

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

What are the data controls available in asp.net?

0 Answers  


Can you clarified A Web service can only be written in .NET or not?

0 Answers   Siebel,


How can you assign styles to webforms?

2 Answers   Microsoft,


Differentiate session and cookie

1 Answers  


What is the advantage of mvc over asp.net? : Asp.Net MVC

0 Answers  


How can you pass multiple complex types in Web API?

0 Answers  


What is manifest in .net framework?

0 Answers  


What is the difference between a thread and a process?

3 Answers  


what is view state?

10 Answers   Satyam,


What are the different types of caching ?

1 Answers  


What is smpte vc-1?

0 Answers  


Define the term Web Garden?

0 Answers   Sans Pareil IT Services,


Categories