hi, i want to chek the Format of strings . e.g i have two format 'add $t1,$t5,$t4', 'addi $t1,$t1,20' how do i chek this format from text box when user input in textbox???. either i have to fix the string formats ?? but strng.Format() method are for numeric type what should i have to do for this type of data ??/plz help me in this
Thanks
Loading
Amit ChoudharyPosted Apr 30, 2010, 3:23 PM
why don't you use regular expression.. write regular expression and apply and RegualerExpressionValidator on your textbox.
add the regular expression in your validator. and your problem will be solved.
Please mark as "Do you like this post" if it helps you.
Madiha KhalidPosted Apr 30, 2010, 3:28 PM