private void BindControl() { DepMsts msts = new DepMsts(); DepMst obj = msts.Details(Convert.ToInt32(Request.QueryString["DID"].ToString())); txtdepartmentname.Text = obj.Dept_Name; }