pages/Enrol/SelQuit.aspx.cs

(完整代码) 1KB

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class pages_Enrol_Default3 : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            txtID.Attributes["onkeyup"] = "value=value.replace(/[^\\d]/g,'')";
            this.Label1.Text = DB.TYPE_SECTION;
        }

    }
    protected void btnOK_Click(object sender, EventArgs e)
    {
        DataSet ds = DB.reDs("select * from tb_Quit where QuitID='" +this.txtID.Text.Trim() + "'");
        DataSet ds1 = DB.reDs("select* from tb_QuitDetails where QuitID='" + this.txtID.Text.Trim() + "'");
        this.GridView1.DataSource = ds;
        this.GridView1.DataBind();
        this.GridView3.DataSource = ds1;
        this.GridView3.DataBind();
    }
}

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

AI 解读

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

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