D
David Plotts
I'm a beginner with VB.net, only had one class in college on it.
I can't seem to remember how to add text boxes up.
I want to add the values in text boxes together, and put the value into a
label
This is what I have, but it just adds the values together. So if
txt_roads_pre.text has 5, and txt_parking_pre.text has 6,
lbl_impervious_pre.text would have "56"
lbl_impervious_pre.Text = txt_roads_pre.Text + txt_parking_pre.Text +
txt_driveway_pre.Text + txt_sidewalk_pre.Text + txt_building_pre.Text +
txt_decks_pre.Text + txt_pools_ponds_pre.Text + txt_other_pre.Text
I can't seem to remember how to add text boxes up.
I want to add the values in text boxes together, and put the value into a
label
This is what I have, but it just adds the values together. So if
txt_roads_pre.text has 5, and txt_parking_pre.text has 6,
lbl_impervious_pre.text would have "56"
lbl_impervious_pre.Text = txt_roads_pre.Text + txt_parking_pre.Text +
txt_driveway_pre.Text + txt_sidewalk_pre.Text + txt_building_pre.Text +
txt_decks_pre.Text + txt_pools_ponds_pre.Text + txt_other_pre.Text