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

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)

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

1 solution

Check this[^] to learn how to use it.
Share this answer
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