Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
I have a text box if it is empty also i have to add it to the database How is it possible.
hi, try the following: dim i as integer = iif(textbox1.Text="",0,textbox1.Text) please note that it will not check if it is of type integer or not, for that you can use validators. regards :)