private string GetLoginNameByEmail() { string strLoginName = ""; string strEmail = txtEmail.Text.ToString().Trim(); MemberInfoDAL obj = new MemberInfoDAL(); strLoginName = obj.GetLoginNameByEmail(strEmail); return(strLoginName); }