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, 1671👍, 0💬
Popular Posts:
What is the main difference between a Vector and an ArrayList? Java Vector class is internally synch...
What is the difference between CALL_FORM, NEW_FORM and OPEN_FORM? CALL_FORM: start a new form and pa...
How can we connect to Microsoft Access , Foxpro , Oracle etc ? Microsoft provides System.Data.OleDb ...
How do we configure “WebGarden”? “Web garden” can be configured by using process model settings in...
How To Truncate an Array? - PHP Script Tips - PHP Built-in Functions for Arrays If you want to remov...