Click here to Skip to main content
15,887,676 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hallo,

I am using Npgsql and I am trying to find a way to bind a dropdown list to the data of a table in postgreSQL.
With MSSQL I used something like:

list1.dataSource = new SQLDataSource(connString, command)
list1.dataBind()



Is there anything similar for Npgsql? Or how can I do that?
Posted

1 solution

Check this[^] to learn how to use it.
 
Share this answer
 
Comments
chris085 9-Nov-11 5:34am    
Thanks but I cannot find a NpgSQLDataSource in here.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900