ABOUT TABLE ADAPTERS

ABOUT TABLE ADAPTERS

Postby 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
anca
 
Posts: 3
Joined: Tue 08 Jan 2008 10:57

Postby 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.
Alexey.mdr
 
Posts: 729
Joined: Thu 13 Dec 2007 10:24

project sources

Postby 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
anca
 
Posts: 3
Joined: Tue 08 Jan 2008 10:57

Postby Alexey.mdr » Wed 09 Jan 2008 12:06

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


Return to dotConnect for PostgreSQL