Esempio n. 1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         //CommonClass.isAllow(User.Identity.Name, this, "模具查询");
         MouldLotStatus.setWorksiteDDL(ddlWorksite);
         MouldLotStatus.Setdll(DDLMouldStructure, "MouldStructure");
         MouldLotStatus.Setdll(ddlPitch, "MouldPitch");
     }
 }
Esempio n. 2
0
    protected void btnSaveClose_Click(object sender, EventArgs e)
    {
        DataTable dt = MouldLotStatus.QueryData(ddlWorksite.SelectedValue
                                                , txtWidth.Text
                                                , txtHaze.Text
                                                , ddlPitch.SelectedValue
                                                , DDLMouldStructure.SelectedValue);

        grd.DataSource = dt;
        grd.DataBind();
    }