Help reg. MaskEdBox
-
Hi Friends, I am using MaskEd control to get From Time and To Time. I have set the Mask property to "##:##" After given from time and to time , I need to find the difference between to time and from time... But it is not allowing since it is string...So can anyone pls..tell me..how can i do that... or how to convert string to integer..... Please Help. Thanks in Advance, Regards
-
Hi Friends, I am using MaskEd control to get From Time and To Time. I have set the Mask property to "##:##" After given from time and to time , I need to find the difference between to time and from time... But it is not allowing since it is string...So can anyone pls..tell me..how can i do that... or how to convert string to integer..... Please Help. Thanks in Advance, Regards
I think you're mistaken in what you want the masked text box to do. int.TryParse is how you work out if a string is an int, and convert it.
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )