Dll First Total needs 5 download points no points can leave a message or email [email protected]
http://download.csdn.net/detail/bibihaha/8951569
How to use:
1, download DLL reference reference
2, within Controler or class using Commonform.common;
3 DataSet ds = new DataSet ();
SqlHelper mySql = null;
string strconn = "SQL Server string user pw ..."
Try
{
MYSQL = new SqlHelper (strconn);
Mysql.param = Mysql.getnewparam ();
MySql.Param.AddParam ("@in_c", SqlDbType.VarChar, ParameterDirection.Input, +, name);
MySql.Param.AddParam ("@in_D", SqlDbType.Int, ParameterDirection.Input, CD);
ds = MYSQL.EXECUTEDATASETSP ("Proc_test", ref mysql.param, 10000);
Mysql.close ();
return DS;
}
catch (Exception ex)
{
Mysql.close ();
Throw ex;
}
Name CD passed in parameters
@in_c @in_D Stored Procedure parameters
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
MVC4 Reference DLL successful jailbreak entity model free Call stored procedure free pass parameters