C# Tutorial

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Post Reply
Posts: 27
Joined: Thu 01 Nov 2007 09:48

C# Tutorial

Post by CNPSV » Fri 02 Nov 2007 08:19

Can you please provide some tutorials for C# 2005 - mostly to be done in design mode:
- adding a new row
- editing a row
- master / detail grid, ....


Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by Alexey » Fri 02 Nov 2007 09:40

For adding or editing rows use PgSqlDataAdapter or PgSqlDataTable components. Fill it with a valid select statement and press "Preview..." button.
For master/detail grid use two PgSqlDataTable components. Fill both with select statements. In the child one fill ParentRelation property.
That's it.

Post Reply