App_Code/BLL/Common.cs
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using SystemDAL;
using System.Data.OleDb;
using Wuqi.Webdiyer;
/// <summary>
/// Common 的摘要说明
/// </summary>
public class Common
{
public Common()
{
//
// TODO: 在此处添加构造函数逻辑
//
}
/// <summary>
/// 删除方法 无参数化
/// </summary>
/// <param name="M"></param>
/// <returns></returns>
///
public static int Deletesql(string table, string where)
{
string sqlstr = "DELETE FROM " + table + " WHERE " + where;
try
{
DAL dal = new DAL();
return dal.OleExecuteNonQuerysql(sqlstr);
}
catch (Exception E)
{
throw E;
}
}
public static int Delete(string table, string where)
{
string sqlstr = "DELETE FROM " + table + " WHERE " + where;
try
{
DAL dal = new DAL();
return dal.OleExecuteNonQuerysql(sqlstr);
}
catch (Exception E)
{
throw E;
}
}
public static DataSet selectallaspnet(AspNetPager aspnetpage1, string table)
{
string sqlstr = "select * FROM " + table;
try
后面还有 113 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。