Backup/WebApp/DownLoad_List.aspx.cs
(开头部分) 3KB这里只显示每个文件的开头 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;
namespace RM.WebApp
{
public partial class DownLoad_List : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
PLBind();
SFBind();
}
}
private void SFBind()
{
RM.BLL.Download dbll = new RM.BLL.Download();
DataTable tb = dbll.GetTopList(14,"ClassID=1");
DataTable tb2 = dbll.GetTopList(4, "ClassID=2");
dlSoft.DataSource = tb;
dlSoft.DataBind();
repPx.DataSource = tb2;
repPx.DataBind();
}
private void PLBind()
{
RM.BLL.Product pbll = new RM.BLL.Product();
DataTable tb = pbll.GetTopList(6);
repPro.DataSource = tb;
repPro.DataBind();
}
protected void repPro_ItemCommand(object source, RepeaterCommandEventArgs e)
{
if (e.CommandName == "down")
{
if (Session["members"] != null)
{
if (e.CommandArgument.ToString() != "")
{
Response.Redirect(e.CommandArgument.ToString());
}
else
{
ClientScript.RegisterStartupScript(this.GetType(), "", Common.JS.Alert("文件错误或不存在..."));
}
}
else
{
后面还有 53 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。