public static DataTable ExecuteQuery(string strConnect, string strSQL, object param) { return(DbHelper.ExecuteQuery(strConnect, strSQL, param)); }
// private string connect = "Data Source=.;Initial Catalog=SRWare;User ID=sa;Password=123456"; /// <summary> /// 执行命令,并返回影响函数 /// </summary> /// <param name="strSQL">执行的SQL语句</param> /// <param name="param">参数</param> /// <returns>影响行数</returns> public static int ExecuteNonQuery(string strConnect, string strSQL, object param) { return(DbHelper.ExecuteNonQuery(strConnect, strSQL, param)); }