protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            Doc dc = new Doc();
            int id = Convert.ToInt32(Request.QueryString["docID"]);
            dc.Docload(id);
            lbldocTitle.Text = dc.docTitle;

            Assess ass = new Assess();
            DataSet ds = new DataSet();
            ds = ass.Loadassess(Convert.ToInt32(Request.QueryString["docID"]));
            GridView1.DataSource = ds.Tables[0].DefaultView;
            GridView1.DataBind();//5*1*a*s*p*x
        }
    }
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            int docID = Convert.ToInt32(Request.QueryString["docID"]);
            Doc dc = new Doc();
            dc.Docload(docID);
            txtTitle.Text = dc.docTitle;

            Assess ass = new Assess();
            DataSet ds = new DataSet();
            ds = ass.Loadassess(docID);
            GridView1.DataSource = ds.Tables[0].DefaultView;
            GridView1.DataBind();
        }
            if (ddlState.SelectedValue != "21")
            {
                RequiredFieldValidator1.Enabled = true;
            }
            else
            {
                RequiredFieldValidator1.Enabled = false;
            }
    }