VideoHome.Web/admin/Film/UserCenter/userfilmAdd.aspx.cs
(开头部分) 12KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.IO;
using myfilm.Entity;
using myfilm.Vod;
using Maticsoft.DBUtility;
using myfilm.Config;
namespace myfilm.Web.UserCenter
{
public partial class userfilmAdd :UserPage
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
InitControl();
GetDDrop();
AddTextBox(Convert.ToInt32(this.DDSum.SelectedValue), "");
}
}
protected void GetDDrop()
{
for (int i = 1; i <= Convert.ToInt32(10); i++)
{
ListItem item = new ListItem();
item.Value = i.ToString();
item.Text = i.ToString();
this.DDSum.Items.Add(item);
}
}
protected void DDSum_SelectedIndexChanged(object sender, EventArgs e)
{
string payurl = "";
string sumlenght = this.DDSum.SelectedValue;
if (Convert.ToInt32(sumlenght) > payurl.Split('卐').Length)
{
AddTextBox(Convert.ToInt32(sumlenght), payurl);
}
else
{
AddTextBox(Convert.ToInt32(sumlenght), payurl);
}
}
//动态添加TextBox
private void AddTextBox(int num, string payurl)
{
后面还有 276 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
