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 |
List some of the important session state modes of asp.net.
In what order do the events of an ASPX page execute, As a developer is it important to understand these events?
Explain the difference between globalization and localization techniques
What are the different method of navigation in asp.net?
What is the maximum timeout we can set for Cookies?
Define xmlreader class.
How is mvc different from asp.net? : Asp.Net MVC
what is the use of asp.net
What is the difference between Server.Transfer and Response.Redirect? Why would you choose one over the other?
What are the components of ado.net?
what is webpart? what r the parts in this webpart (zone)
What is the Difference between MVC And MVP design pattrens
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)