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, 1743👍, 0💬
Popular Posts:
How To Enter Characters as HEX Numbers? - MySQL FAQs - Introduction to SQL Basics If you want to ent...
How To Assign Query Results to Variables? - Oracle DBA FAQ - Working with Database Objects in PL/SQL...
Enable ASP.NET polling using “web.config” file Now that all our database side is configured in order...
What is a measure in OLAP ? Measures are the key performance indicator that you want to evaluate. To...
What is page thrashing? Some operating systems (such as UNIX or Windows in enhanced mode) use virtua...