Exemplo n.º 1
0
    protected void ddlDist_OnSelectedIndexChanged(object sender, EventArgs e)
    {
        /*Bind Institutions By Dist Code*/
        DataTable ddt = objMstBL.GetInstByDistCodeBAL(Session["statecd"].ToString(), ddlDist.SelectedValue.ToString(), ConnKey);

        objCommon.BindDropDownLists(ddlInst, ddt, "InstitutionName", "Unique_InstId", "0");
        RefreshOnChng();
    }
 protected void ddlDist_OnSelectedIndexChanged(object sender, EventArgs e)
 {
     try
     {/*Bind Institutions By Dist Code*/
         DataTable ddt = objMstBL.GetInstByDistCodeBAL(Session["statecd"].ToString(), ddlDist.SelectedValue.ToString(), ConnKey);
         objCommon.BindDropDownLists(ddlInst, ddt, "InstitutionName", "Unique_InstId", "0");
     }
     catch (Exception ex)
     {
         Response.Redirect("~/Error.aspx");
     }
 }
Exemplo n.º 3
0
 protected void ddlDist_OnSelectedIndexChanged(object sender, EventArgs e)
 {
     try
     {
         /*Bind Institutions By Dist Code*/
         DataTable ddt = objMstBL.GetInstByDistCodeBAL(ddlState.SelectedValue.ToString(), ddlDist.SelectedValue.ToString(), ConnKey);
         objCommon.BindDropDownLists(ddlInst, ddt, "InstitutionName", "Unique_InstId", "0");
         trPatientDtls.Visible    = false;
         btnSubmit.Visible        = false;
         btnCloseFb.Visible       = false;
         GvPatientDtls.DataSource = null;
         GvPatientDtls.DataBind();
         GvPatientDtls.Visible = true;
     }
     catch (Exception ex)
     {
         Response.Redirect("~/Error.aspx");
     }
 }