Asp.net text box is only returning the first value

Posted by queryne on Stack Overflow See other posts from Stack Overflow or by queryne
Published on 2011-01-10T01:48:54Z Indexed on 2011/01/10 1:53 UTC
Read the original article Hit count: 525

Filed under:
|
|

C sharp newbie question...I have a simple asp.net form that has a textbox that collects phonenumbers to send SMS messages. If I bypass the form and hardcode the numbers using the following format:

"2133211234",#1233211234"

the code works fine. However when i try to use this same format using my form, the sms will ONLY send to the first number. I have a feeling i'm missing out on some property on my form that will accept all of the values.

also any idea how how i can add some lines of code that will allow users to enter numbers like this:

3123211234,4123212344 and have it converted to the format above when the number is submitted?

Any ideas? Thanks in advance.

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET