void GetPersonalDetails() { objUser.RegUserId = Convert.ToInt32(Session["ConsumerId"]); DataSet ds = objUser.GetUserDetails(); DataRow dr = ds.Tables[0].Rows[0]; if (ds.Tables[0].Rows.Count > 0) { txtEmail.Text = dr["Email"].ToString(); txtAddress.Text = dr["Address"].ToString(); txtPhone.Text = dr["PhoneNo"].ToString(); BrowseImage1.BindImage(dr["FileName"].ToString(), (byte[])dr["Image"]); } }