Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
How do u call and execute a stored procedure in .NET?
How do u call and execute a stored procedure in .NET?
✍: Guest
system.Data;
system.Data.SqlClient;
SqlConnection sqCon = new SqlConnection(â€connection stringâ€);
SqlCommand sqCmd = new SqCmd();
sqCmd.Connection = sqCon;
sqCmd.CommandText = procedure_name;
sqCmd.CommandType = CommandType.StoredProcedure;
sqComd.ExecuteReader();
regards - Raveendra Sharma
2014-11-14, 1994👍, 0💬
Popular Posts:
How can we implement singleton pattern in .NET? Singleton pattern mainly focuses on having one and o...
What is normalization? What are different types of normalization? It is set of rules that have been ...
An application needs to load a library before it starts to run, how to code? One option is to use a ...
How To Insert Multiple Rows with a SELECT Statement? - MySQL FAQs - Managing Tables and Running Quer...
How To Enter Microseconds in SQL Statements? - MySQL FAQs - Introduction to SQL Date and Time Handli...