mysql - How can i create buttons from database field in VB? -


i use mysql database. want create new buttons in vb.net every data.

when add new member admin panel, must create new button in vb.net.

any appreciated.

you can add control, including buttons dynamically control's collection:

at basic looks this:

dim mybutton new button  mybutton.id = "btnmybutton" mybutton.text = "new button"  me.controls.add(mybutton) 

the values id , text can come db. want button - can add handler "onclick" event using "addhandler" statement.

the approach described above universal, depending on whether use asp.net or winforms - additional details may need coded.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -