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, 2044👍, 0💬
Popular Posts:
Jack developed a program by using a Map container to hold key/value pairs. He wanted to make a chang...
Enable ASP.NET polling using “web.config” file Now that all our database side is configured in order...
What are unadjusted function points and how is it calculated? Unadjusted function points = ILF + EIF...
What is AL.EXE and RESGEN.EXE? In the previous question you have seen how we can use resource files ...
When should the method invokeLater() be used? This method is used to ensure that Swing components ar...