SiteAdmin/Aspx/ScienseCorporationEdit.aspx.cs

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.IO;

public partial class SiteAdmin_Aspx_ScienseCorporationEdit : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Request.Cookies["roleid"] != null)
            {
                if (!IsPostBack)
                {
                    binddr();
                }
            }
            else
            {
                MessageBox.ShowAndRedirect(this.Page, "对不起!您还没有登录系统。", "../Logout.aspx");
            }
        }
        public void binddr()
        {
            try
            {
                BankProduct myn = new BankProduct();
                myn.GetModel(Convert.ToInt16(Request.QueryString["ID"].ToString()));
                TextBox_Name.Text = myn.Name;
      
                TextBox_SYDX.Text = myn.SYDX;
      
                FCKeditor_Content.Value = myn.CPJS;
                DropDownList_Fid.SelectedValue = myn.BID.ToString();
                HiddID.Text = myn.Logo;
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
        protected void LinkButton_Add_Click(object sender, EventArgs e)
        {
            string Name = TextBox_Name.Text.Trim();
            string YWLX = "";
            string ED = "";
            string QX = "";
            string SYDX = TextBox_SYDX.Text.Trim();
            string CPTD = "";
            string SPSJ = "";
            string SQTJ = "";
            string BID = DropDownList_Fid.SelectedValue;

            string CPJS = FCKeditor_Content.Value;

            if (FileUpload_image.HasFile)
            {
后面还有 73 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。