public void getdata() { DataSet ds1 = new DataSet(); ds1 = balobj.Get_Data_ById(txtemail.Text, "", "", "Checklogin_status"); if (ds1.Tables[0].Rows[0]["result"].ToString() == "True") { textname.Text = ds1.Tables[0].Rows[0]["Name"].ToString(); txtages.Text = ds1.Tables[0].Rows[0]["dob1"].ToString(); textaddress.Text = ds1.Tables[0].Rows[0]["Address"].ToString(); lbldate.Text = ds1.Tables[0].Rows[0]["joindate1"].ToString(); //this.Orders_ModelPopUp.Show(); } else { //Response.Redirect("~/MemberPanel/DashBoard.aspx"); Response.Redirect("~/MemberPanel/MBFMay2020.aspx"); } }