| |

VerySource

 Forgot password?
 Register
Search
View: 629|Reply: 2

How to get the value of the linked DROPDOWNLIST on the server side

[Copy link]

6

Threads

20

Posts

15.00

Credits

Newbie

Rank: 1

Credits
15.00

 China

Post time: 2020-3-7 07:30:01
| Show all posts |Read mode
My intermodal menu is the value extracted from the database.


Normal dropdownlist

textbox.SelectedItem.Value
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 Invalid IP Address

Post time: 2020-5-24 19:30:01
| Show all posts
This is how VB works in other languages.
Protected Sub DropDownList1_SelectedIndexChanged (ByVal sender As Object, ByVal e As System.EventArgs) Handles DropDownList1.SelectedIndexChanged
        dim a as string = BlockDropDownList.SelectedValue

 End Sub
Reply

Use magic Report

6

Threads

20

Posts

15.00

Credits

Newbie

Rank: 1

Credits
15.00

 China

 Author| Post time: 2020-5-28 19:30:01
| Show all posts
Do you want to write events in dropdownlist
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list