Beispiel #1
0
        protected void GridView2_RowDeleting(object sender, GridViewDeleteEventArgs e)
        {
            string gsbh = "LTY";
            //string UserID = "22343";
            string    UserID  = Session["UserID"].ToString();
            Label     lblPDNO = (Label)GridView2.Rows[e.RowIndex].FindControl("lblpdno");
            DataTable dt      = dal.LayTrangThaiCuaPhieuChoDuyet(lblPDNO.Text, UserID, gsbh);

            if (dt.Rows.Count > 0)
            {
                //lblTrangThai2.Text = dt.Rows[0]["YnName"].ToString();
            }
        }