コード例 #1
0
 protected void btnnew_Click(object sender, EventArgs e)
 {
     Whitfield_Project _wc = new Whitfield_Project();
     _wc.ManageWorkOrders(Convert.ToInt32(ViewState["EstNum"].ToString()), Convert.ToInt32(ViewState["twcProjNumber"].ToString()), txtdesc.Text.Trim(), Convert.ToInt32(txtMaterialCost.Text.Trim()), Convert.ToInt32(txtFabHours.Text.Trim()), Convert.ToInt32(txtFinishHours.Text.Trim()), Convert.ToInt32(txtInstallHours.Text.Trim()), Convert.ToInt32(txtEngHours.Text.Trim()), Convert.ToInt32(txtMiscHours.Text.Trim()), txtNotes.Text.Trim(), chkActive.SelectedItem.Value.Trim());
        Response.Write("<script language='javascript'>parent.location.replace('Whitfield_projectInfo.aspx?EstNum=" + hidEstNum.Value + "&twcProjNumber=" + hidtwcProjNumber.Value + "');</script>");
 }