Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

Check for > 0 in texbox

$
0
0
Greetings again,

I am trying to check the value of a textbox, which has data imported from a datagrid, and am needing to check and see if the number imported to the textbox is greater than 0.

I have tried checking for just 0 but it doesn't appear to find it.

If CDbl(TextBoxTier1.Text) > 0 Then RadioButtonTier1.Checked = True


I have also tried
If TextBoxTier1.Text = "0" Then RadioButtonTier1.Checked = False


Thanks for any help.

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>