Hidistro.UI.Web/Admin/Shop/Pictures.cs
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
namespace Hidistro.UI.Web.Admin.Shop
{
using ASPNET.WebControls;
using Hidistro.ControlPanel.Store;
using Hidistro.Core;
using Hidistro.Core.Entities;
using Hidistro.UI.Common.Controls;
using Hidistro.UI.ControlPanel.Utility;
using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Text;
using System.Web;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
public class Pictures : AdminPage
{
protected Button btnImagetSearch;
protected HtmlForm form1;
public string GlobalsPath;
private string keyOrder;
private string keyWordIName;
private int pageIndex;
protected Pager pager;
protected DataList photoDataList;
protected TextBox txtWordName;
private int? typeId;
protected UpImg uploader1;
protected Pictures() : base("m01", "00000")
{
this.keyWordIName = string.Empty;
this.typeId = null;
this.GlobalsPath = Globals.ApplicationPath;
}
private void BindImageData()
{
this.pageIndex = this.pager.PageIndex;
PhotoListOrder uploadTimeDesc = PhotoListOrder.UploadTimeDesc;
DbQueryResult result = GalleryHelper.GetPhotoList(this.keyWordIName, this.typeId, this.pageIndex, uploadTimeDesc);
this.photoDataList.DataSource = result.Data;
this.photoDataList.DataBind();
this.pager.TotalRecords = result.TotalRecords;
}
private void btnImagetSearch_Click(object sender, EventArgs e)
{
this.keyWordIName = this.txtWordName.Text;
this.BindImageData();
}
public static string Html_ToClient(string Str)
{
if (Str == null)
{
return null;
}
后面还有 84 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
