Thursday, March 22, 2012

newbie need help

Hi,
I need to know how to find out value being passed out is a string value or an integer value. I have a value being passed into objArgs.ListItem.value which has an integer value in first. Later when user clicks objArgs.ListItem.Value will be having a String value in it.

I need to capture both the values which it has in first and also later. Can anyone tell me how ??

I need some way to check if input is an Integer value or a StringValue !!!

ThanksOK, OK, I'LL TRY AND HELP YOU!!!

If you're using VB.NET then simply use the IsNumeric() method to check the value, and if you're using C# you can do this:

IsNumeric in C#

0 comments:

Post a Comment