Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Participant
1380 Points
287 Posts
May 11, 2012 04:42 PM|LINK
string strtxtValue = textbox1.Text;
int result;
if(int.TryParse(strtxtValue,out result)
{
//you can enter this condition only if the value of your textbox is an integer ,then you can implement rest of the logic here
}
Madhu1234
Participant
1380 Points
287 Posts
Re: type Of textbox
May 11, 2012 04:42 PM|LINK
string strtxtValue = textbox1.Text;
int result;
if(int.TryParse(strtxtValue,out result)
{
//you can enter this condition only if the value of your textbox is an integer ,then you can implement rest of the logic here
}