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
KRayudu V
NA
155
205.6k
asp.net mvc design pattren "Error:Operator '>' cannot be applied to operands of type 'string' "
Aug 12 2012 7:58 AM
Aspx.cs
FieldsLogin fls = new FieldsLogin();
fls.EmailId =txtemail.Text;
fls.Password = txtpwd.Text;
if (fls.EmailId> 0) // Error':input string not in the correct formate
{
Response.Write("Sucess");
}
else
{
Response.Write("Error");
}
Model(Loginfields):
public class FieldsLogin
{
public string EmployeeName { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string UserName { get; set; }
public string Password { get; set; }
public string ConfirmPassword { get; set; }
public string EmailId { get; set; }
public string PhoneNo { get; set; }
public string Address { get; set; }
}
}
Reply
Answers (
6
)
row command in grid view cod
Report not showing