SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["cn"].ConnectionString);
public DataTable getdatatableByProcedure(string procedureName, object[] prm)
{
DataTable dt = SqlHelper.ExecuteDataset(con,procedureName,prm).Tables[0];
return dt;
}
我想添加超时,但是我真的很新。有人可以帮忙解决此错误