EquipmentManagement/Admin/Select_EquipmentInfo.aspx.cs
(开头部分) 11KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
using System.Collections;
using System.ComponentModel;
using System.Web.SessionState;
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 Data_Control;
using System.Drawing;
using OWC;
public partial class Admin_Select_EquipmentInfo : System.Web.UI.Page
{
protected System.Web.UI.WebControls.TextBox fyq;
protected HtmlGenericControl WdTable;
private int CountRows;
private string sql;
public string sb;
protected void Page_Load(object sender, EventArgs e)
{
if(!IsPostBack )
{
string [] strsql;
strsql =new string [2];
strsql[0]="select EquiStyleID as bm,EquiStyleName as nr from EquiStyle";
strsql[1]="select EquiSortID as bm,EquiSortName as nr from EquiSort";
DropDownList[] ddl;
ddl = new DropDownList[2];
ddl[0] = DDL_Sbzl;
ddl[1] = DDL_Sblb;
for (int i = 0; i <= 1; i++)
{
DDL_BindData(strsql[i], ddl[i]);
}
}
sb = Request["pxzd"] == null ? "" : Request["pxzd"].ToString();
class_name.Text = Request["UserName"] == null ? "" : Request["UserName"].ToString();
classid.Value = Request["classid"] == null ? "" : Request["classid"].ToString();
BindDataGrid();
ShowStats();
}
//首页、下页、上页、尾页、翻页按钮的显示与否
#region
private void ShowStats()
{
if (CountRows == 0)
{
btnFirst.Visible = false;
btnPrev.Visible = false;
btnNext.Visible = false;
btnLast.Visible = false;
后面还有 265 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。