get column's header and put into a dropdown.
Hi all,
I'd like to get programatically the shown text to the user in a simple tabe that it's bind to a database and put the columnnames to a dropdown.
any ideas?
thank's in advance!
regards
Hi all,
I'd like to get programatically the shown text to the user in a simple tabe that it's bind to a database and put the columnnames to a dropdown.
any ideas?
thank's in advance!
regards
Oh!! I've a same problem.
I need to know how obtain the table headers and put into a dropdown.
Anyone knows how do it?
Tnx
Any example please?
Hi There,
Im not sure what you are asking for, but if you want to populate a dropdown from data from database, this will help
http://www.netbeans.org/kb/55/dropdowncomp.html
Thanks
K
> Hi There,
>
> Im not sure what you are asking for, but if you want
> to populate a dropdown from data from database, this
> will help
>
> http://www.netbeans.org/kb/55/dropdowncomp.html
>
> Thanks
> K
No, I know how to bind the dropdown directly to a Database this is simply.
The steps of my idea:
1. drag and drop a table.
2. Bind to a database table.
3.drag and drop a dropdownlist.
4. Obtain only the visible fields in the table (When I bind the data to table, I can select with table layout option the database fields to display.).
The idea is search by column in the table. The user selects in the dropdown the column and then search a word.
The 4 step is difficult for me.
Thank's