jiangchengxinxi_list2.aspx.cs
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Data;
using System.Configuration;
using System.Collections;
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;
public partial class jiangchengxinxi_list2 : System.Web.UI.Page
{
//tixxixngdixngyxi
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
//zdxlz
gonghao.Items.Add("所有");
//yxl2fz
addxiala1("yuangongxinxi", "gonghao");
//yxlfz
//addlixandxongxlz
string sql;
sql = "select * from jiangchengxinxi where gonghao ='" + Session["username"].ToString().Trim() + "' order by id desc";
getdata(sql);
}
}
//hsgadxdliaxndoxng
private void addxiala(string ntable, string nzd)
{
string sql;
sql = "select " + nzd + " from " + ntable + " order by id desc";
DataSet result = new DataSet();
result = new Class1().hsggetdata(sql);
if (result != null)
{
if (result.Tables[0].Rows.Count > 0)
{
int i = 0;
for (i = 0; i < result.Tables[0].Rows.Count; i++)
{
//xsbwghtresxds.Items.Add(result.Tables[0].Rows[i][0].ToString().Trim());
}
}
}
}
private void getdata(string sql)
{
DataSet result = new DataSet();
result = new Class1().hsggetdata(sql);
if (result != null)
{
if (result.Tables[0].Rows.Count > 0)
{
后面还有 101 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。