EasyShop/siteAdmin/member/member_Add.aspx.cs
(开头部分) 7KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Text;
using Ftion;
using OpSql;
using myNewsInfo;
using System.Data;
using MyModels;
namespace EasyShop.siteAdmin.member
{
public partial class member_Add : System.Web.UI.Page
{
public string jsString = "";
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
LoadData();
}
}
public void LoadData()
{
string strPID = Common.GetMes.GetRequestQuery(Request, "pid");
if (!string.IsNullOrEmpty(strPID))
{
TB_MC_User tmu = new TB_MC_User();
tmu.Id = int.Parse(strPID);
DataSet ds = tmu.GetList(" ID="+strPID+"");
int num = ds.Tables[0].Rows.Count;
for (int i = 0; i < num; i++)
{
txt_UserName.Text = ds.Tables[0].Rows[i]["LoginName"].ToString();
//txt_PassWord.Text = ds.Tables[0].Rows[i]["UserPwd"].ToString();
txt_Email.Text = ds.Tables[0].Rows[i]["Email"].ToString();
txt_Point.Text = ds.Tables[0].Rows[i]["Point"].ToString();
if (!string.IsNullOrEmpty(ds.Tables[0].Rows[i]["Money_Use"].ToString()))
{
txt_MoneyUse.Text = ds.Tables[0].Rows[i]["Money_Use"].ToString();
}
else
{
txt_MoneyUse.Text ="0";
}
TB_MC_UserRole tmr = new TB_MC_UserRole();
string RoleID=ds.Tables[0].Rows[i]["Roleid"].ToString();
if(string.IsNullOrEmpty(RoleID))
{
RoleID="1";
}
DataSet ds2 =tmr.GetList("");
int num2 = ds2.Tables[0].Rows.Count;
for (int j = 0; j < num2; j++)
{
ListItem list = new ListItem();
list.Value = ds2.Tables[0].Rows[j]["ID"].ToString();
后面还有 119 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。