Following Code Used:
Protected Sub DropDownList1_TextChanged(sender As Object, e As System.EventArgs) Handles DropDownList1.TextChanged
If DropDownList1.Text = "super" Then
TextBox1.Text = "john"
TextBox1.Text.ToString()
End If
End Sub
Also Tried:
Protected Sub DropDownList1_SelectedIndexChanged(sender As Object, e As System.EventArgs) Handles DropDownList1.SelectedIndexChanged
Dim selected As String = DropDownList1.SelectedItem.ToString
If selected = "super" Then
TextBox1.Text = "john"
TextBox1.Text.ToString()
End If
End Sub
Tried Other Ways Also But Nothing Worked. Any Help Will Be Amazing.
Thanks
John

New Topic/Question
Reply



MultiQuote




|