Combo box Value and PostgreSQL.Net
Posted: Sat 08 Dec 2007 18:43
Hi ,
I dont know if this clasify as specific VB.net Question or PostgreSQL .Net Question.
Anyways :
When I use to do PHP and if a database had a two colum one with serial no and the other the corresponding value for that sno like
what i use to do is simple query it
like
select sno,tem from table;
then in PHP for combobox I use to populate the value as and the display would come with
In HTML
Then in insert statement of another table I simply use to insert the value of option tag
How can I accomplish the same with PostGreSQL.net and combobox
I dont know if this clasify as specific VB.net Question or PostgreSQL .Net Question.
Anyways :
When I use to do PHP and if a database had a two colum one with serial no and the other the corresponding value for that sno like
Code: Select all
sno|item
---------
1 | sugar
2 | salt
like
select sno,tem from table;
then in PHP for combobox I use to populate the value as and the display would come with
In HTML
Code: Select all
Sugar
How can I accomplish the same with PostGreSQL.net and combobox