YKT_EShop/Admin/Picture/Picture_Manage_Dialog.cs
(开头部分) 6KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using YKT_Common.FileManager;
using System.Collections.Generic;
using System.IO;
using YKT_Common;
using YKT_Common.WaterMark;
using Wuqi.Webdiyer;
using System.Web.UI.HtmlControls;
namespace YKT_EShop.Admin.Picture
{
public partial class Picture_Manage_Dialog : BasicPage
{
const string vPath = "vPath";
string uploadPath = "";
protected AspNetPager Pager;
protected DataList dlPicList;
protected DropDownList ddlSelectPicPath;
protected HtmlInputFile FileUploadGo;
protected void Page_Load(object sender, EventArgs e)
{
if (!this.IsPostBack)
{
uploadPath = Input.SetString(Request["uploadfiles"]);
if (uploadPath != "")
{
ViewState[vPath] = uploadPath;
}
this.Bind_PathAll();
this.Bind_dlList();
}
}
private void Bind_dlList()
{
string tempStr = "";
if (ViewState[vPath] != null && Input.SetString(ViewState[vPath]) != "UpLoadFiles")
{
tempStr = "UpLoadFiles/" + Input.SetString(ViewState[vPath]);
}
else
{
tempStr = "UpLoadFiles/";
}
FileSystemManager.SetRootPath(Server.MapPath("~/" + tempStr));
FileSystemManager.ReadPath(false);
List<FileSystemItem> list = FileSystemManager.GetItems();
Pager.RecordCount = list.Count;
后面还有 121 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。