ABOUT TABLE ADAPTERS

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Post Reply
anca
Posts: 3
Joined: Tue 08 Jan 2008 10:57

ABOUT TABLE ADAPTERS

Post by anca » Tue 08 Jan 2008 11:28

hello, i created a dataset with dataset wizard and i selected datasource type to be table adapters. I created a query in one of the tables from designer, and i want to use it. i didn't found how exactly.
here is what my designer looks like, and the query i'd like to use, for example filling an datagridview with the result returned from the query, on a mouse button click. more help for table adapters would be usefull. thx.

Image

Alexey.mdr
Posts: 729
Joined: Thu 13 Dec 2007 10:24

Post by Alexey.mdr » Tue 08 Jan 2008 14:20

This feature is not compatible with the PostgreSQLDirect .NET provider-specific code generator. For this purpose you can use standard DataSet.
Take a look at the "PgSqlDataTable Advanced Features" topic in PostgreSQLDirect .NET documentation.
It may help you with filling a table.

anca
Posts: 3
Joined: Tue 08 Jan 2008 10:57

project sources

Post by anca » Wed 09 Jan 2008 07:37

hy, i made a new project reproducing the errors. first, at the end of the dataset creation it says that it can't create relations, the when i try to drag someting on the form it gives me the error with the site problem. anyone knows what is this??

Image

Image

here are the project sources made in VS 2008 with the database backup in postgresql. if you could look at it and tell me what is all about, i would appreciate, thanks.

http://stud.usv.ro/~opascariu/project_problems.rar

Alexey.mdr
Posts: 729
Joined: Thu 13 Dec 2007 10:24

Post by Alexey.mdr » Wed 09 Jan 2008 12:06


Post Reply