Getting current row column value

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Post Reply
Posts: 13
Joined: Wed 17 Oct 2007 13:10

Getting current row column value

Post by rakgol_a » Fri 05 Sep 2008 17:02

Hi .Net Newbiw,

How does one get current row value of a column from pgSqlDataTable in code? Like

label1.Text = pgSqlDataTable1.Column["CompanyNameField"].Value;

I have pgSqlDataTable1 wired to the pgSqlConnection1 and pgSqlCommand1
which select the data and displays it on the grid.


Post Reply