tycrm/CGGL/CaiGou/CaiGou_add.aspx.cs
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Data;
using System.Web;
using System.Web.UI;
using System.Data.SqlClient;
using qpsmartweb.Public;
using System.Collections;
namespace tycrm.CGGL.CaiGou
{
public partial class CaiGou_add : System.Web.UI.Page
{
Db List = new Db();
BindDrowDownList list = new BindDrowDownList();
protected void Page_Load(object sender, EventArgs e)
{
if (this.Session["username"] == null)
{
this.Response.Write("<script language=javascript>alert('登陆超时!');window.parent.location = '/main_d.aspx'</script>");
return;
}
if (!Page.IsPostBack)
{
BindDroList();
BindAttribute();
Riqi.Text = System.DateTime.Now.ToShortDateString();
QianYueWF.Text = Session["realname"].ToString();
Random g = new Random();
string rad = g.Next(10000).ToString();
Number.Text = "" + System.DateTime.Now.Year.ToString() + "" + System.DateTime.Now.Month.ToString() + "" + System.DateTime.Now.Day.ToString() + "" + System.DateTime.Now.Hour.ToString() + "" + System.DateTime.Now.Minute.ToString() + "" + System.DateTime.Now.Second.ToString() + "" + System.DateTime.Now.Millisecond.ToString() + "" + rad + "";
}
BindFjlbList();
}
public void BindDroList()
{
string sql_down_us = "select realname from qp_crm_Username where 1=1";
list.Bind_DropDownList_kong(normalcontent, sql_down_us, "realname", "realname");
string sql_down_Fangshi = "select * from qp_crm_DataFile where type=34 and ifdel=0";
list.Bind_DropDownList_kong(Fenlei, sql_down_Fangshi, "id", "Name");
}
public void BindAttribute()
{
Riqi.Attributes.Add("readonly", "readonly");
GysName.Attributes.Add("readonly", "readonly");
Button6.Attributes["onclick"] = "javascript:return chknull();";
Button2.Attributes["onclick"] = "javascript:return showwait();";
后面还有 56 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
