1.初始化项目。保险起见bin目录完整提交 2.基于现场代码为调整过的初始项目(此次提交还未解决代码差异问题)
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
|
||||
namespace BllSql
|
||||
{
|
||||
// Token: 0x02000002 RID: 2
|
||||
public class BllBase : SqlHelper
|
||||
{
|
||||
// Token: 0x06000001 RID: 1 RVA: 0x00002050 File Offset: 0x00000250
|
||||
public DataTable ExecuteReadTable(string Sql)
|
||||
{
|
||||
SqlConnection conn = SqlHelper.GetConnection();
|
||||
DataSet ds = SqlHelper.ExecuteDataset(conn, CommandType.Text, Sql);
|
||||
return ds.Tables[0];
|
||||
}
|
||||
|
||||
// Token: 0x06000002 RID: 2 RVA: 0x00002080 File Offset: 0x00000280
|
||||
public int ExecuteNonQuery(string Sql)
|
||||
{
|
||||
SqlConnection conn = SqlHelper.GetConnection();
|
||||
return SqlHelper.ExecuteNonQuery(conn, CommandType.Text, Sql);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user