• 1.9k
  • 7
  • 7.1k

Textbox value to int

Feb 28 2012 11:24 PM
Hi all,

I have a textbox which i wrote Convert.toint32(txtbox.text) which takes phone no.

Suppose i want to pass blank textbox it throws an error that input string is not in correct format.

i have a requirement that the textbox can be blank.

hope i may get a solution.

Thanks in advance

Brought to you by:

Answers (3)