in my asp.net and vb code web. i have a drop downlist and a text box.
when i select the item from dropdownlist the numeric value should change accordingly. is it possible
You can also do with CASE Statement rather use IF ELSE
Select Case DropDownList1.SelectedValue Case "Dir" TextBox1.Text = 1 Case "Dy Dir" TextBox1.Text = 2 Case "SO" TextBox1.Text = 3 Case "HOD" TextBox1.Text = 4 End Select
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.