How does you call and execute a SP in .NET?

Answer Posted / anil sharma

command.commection =coonectionstring
command.commandType=commandType.storedProcedure
command.commandtext="sp_name"
command.executenonquery()

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the top .net class that everything is derived from?

608


What is the differences between dataset.clone and dataset.copy?

630


Can you please explain the difference between namespace and assembly?

542


what is difference between web.config and machine.config and where it will be ?

473


Explain code security?

494






What is strong typing and weak typing?

536


Sir, what code to store data from vb net sql server 2008 to 2005 and at the same time in order to validate the data entered is not the same, but there have been contacts in the module. Examples such as the log table that I created, the user name as the primary key.

1742


Explain how to store decimal data in .net?

705


what is the advantage of option strict on?

600


Explain the components of common language runtime.

514


Can you please explain the difference between dataset and datareader?

546


List the types of generations in garbage collector?

519


Name some of the features present in vb 2005?

563


Tell me which namespace are used for accessing the data?

517


Explain strong name in .net assembly?

522