App_Code/BLL/BLL.cs
(开头部分) 26KB这里只显示每个文件的开头 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 System.Data.SqlClient;
using SystemDAL;
using System.Data.OleDb;
using Wuqi.Webdiyer;
/// <summary>
/// BLL 的摘要说明
/// </summary>
///
namespace SystemBll
{
public class BLL
{
DAL dl = new DAL();
//*************************公共的询语句*******************************************//
#region 相关控件aspnetpager所用的函数 返回Dataset
/// <summary>
/// /查找相关信息显示 有参数化有排序 例如根据id查询所有数据
/// </summary>
/// <param name="table_name">表名</param>
/// <param name="where_name">条件</param>
/// <param name="id">id就是要参数化的条件字段,嘻嘻</param>
/// <returns>dataset</returns>
public DataSet selectaspnet(AspNetPager aspnetpage1, string table_name, string where_name, string id)
{
try
{
OleDbParameter[] OleDbParameter =
{
new OleDbParameter("@n0",int.Parse(id)),
};
string sql = "select * from " + table_name + " where " + where_name + "";
DataSet ds = new DataSet();
ds = dl.OleExecuteDataSetAspnet(aspnetpage1,sql, OleDbParameter);
return ds;
}
catch (SqlException ex)
{
throw new Exception(ex.Message);
}
}
#endregion
#region 相关控件所用的函数 返回DataSet
/// <summary>
/// /查找相关信息显示 有参数化 id
/// </summary>
/// <param name="table_name">表名</param>
/// <param name="where_name">条件</param>
/// <param name="id">id就是要参数化的条件字段,嘻嘻</param>
后面还有 638 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。