I am trying to put text box value into a integer variable,value in text-box is empty.how to do this? here textbox1.value is "" Int result =Convert.toint32(textbox1.value) --->error. How to do this?