But i have specified my file name correctly
Expand|Select|Wrap|Line Numbers
- string strServer = Request.ServerVariables["SERVER_NAME"].ToString();
- string strVdir = Request.ApplicationPath;
- string strloc = "http://" + strServer + strVdir + "/" + "SignIn.aspx?VerifyId=" + keydto.MemberVerifyCode.ToString();
- string msgbody = "Thanks for joining ZionRealtors,<br><br>Please memory your registration infos:<br><br><font color=blue size=+1>EmailId: " + MailId + "<br>Password: " + txtMemPassword.Text + "</font>";
- message.Body = msgbody + "<br><br><b><a href='" + strloc + "'>" + strloc + "</a></b>";
then i have find out am just passing virtual address
so i changed my code to
string strVdir = Request.MapPath;
now am getting error
Error 1 Cannot convert method group 'MapPath' to non-delegate type 'string'. Did you intend to invoke the method?