TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
priyadharshan sekar
NA
23
28.3k
Getting error in activation email in reg page
Mar 20 2014 7:25 AM
im getting error in .....
private string Fetchsno(string emailid)
{
}
Error: '_Default.Fetchsno(string)': not all code paths return a value
I want to use this funtion activation url.....
suppose if i have used void datatype means,
im getting error in activation url...
ActivationUrl = Server.HtmlEncode("http://localhost:50059/WebSite1/activate%20account.aspx?sno=" + Fetchsno(emailid) + "&emailid=" + emailid);
error: <pre lang="vb">Error 16 Operator '+' cannot be applied to operands of type 'string' and 'void' D:\frm lap\WebSite1\Default.aspx.cs 33 44 D:\frm lap\WebSite1\</pre>
Give me your suggestions
Reply
Answers (
1
)
SECURITY PROVISION TO ACCESS WEBSITE
How to Validate Drop Down List