EasyShop/siteAdmin/member/Pup_EditMemberGroup.aspx.cs
(开头部分) 9KB这里只显示每个文件的开头 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;
using System.Text;
using System.IO;
namespace EasyShop.siteAdmin.member
{
public partial class Pup_EditMemberGroup : System.Web.UI.Page
{
public string returnJsString = string.Empty;
public string jsString = string.Empty;
public string strFlieName = string.Empty;
public string strPic = string.Empty;
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
string strID = Common.GetMes.GetRequestQuery(Request, "pid");
if (!string.IsNullOrEmpty(strID))
{
TB_MC_UserRole tmu = new TB_MC_UserRole();
tmu.ID = int.Parse(strID);
DataSet ds = tmu.GetListByID();
int num = ds.Tables[0].Rows.Count;
for (int i = 0; i < num; i++)
{
txt_RoleName.Text = ds.Tables[0].Rows[i]["RoleName"].ToString();
txt_Discount.Text = ds.Tables[0].Rows[i]["Discount"].ToString();
txt_Max_BuyMoney.Text = ds.Tables[0].Rows[i]["Max_BuyMoney"].ToString();
txt_Min_BuyMoney.Text = ds.Tables[0].Rows[i]["Min_BuyMoney"].ToString();
string Pic = ds.Tables[0].Rows[i]["IconPic"].ToString();
if (!string.IsNullOrEmpty(Pic))
{
strPic = "<img src='/Icons/" + Pic + "' style='width:100px;height:100px;' alt=''/>";
}
string IsDefault = ds.Tables[0].Rows[i]["IsDefault"].ToString();
if (IsDefault == "True" | IsDefault == "1")
{
rbl_IsDefault.SelectedIndex = 0;
}
else
{
rbl_IsDefault.SelectedIndex = 1;
}
}
}
else
{
txt_Discount.Text = "100";
txt_Max_BuyMoney.Text = "0";
txt_Min_BuyMoney.Text = "0";
后面还有 153 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。