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
Hari B
NA
139
67.7k
If Condition for Both Integer and float
Jun 17 2015 1:59 AM
Hello All,
Here I have one problem my text box allowed only integer and float value. if eny thing else will give error message.Please find my code Below.
if (!int.TryParse(x, out value))
{
ModelState.AddModelError("","eeroro message");
}
Please help me
Thanks in advance...
Reply
Answers (
2
)
tpl, tack parallel library, thread
How to set Random No Logic