[Mono-devel-list] Database on ASP.Net
Gonzalo Paniagua Javier
gonzalo at ximian.com
Fri Mar 21 03:49:38 EST 2003
El jue, 20 de 03 de 2003 a las 22:13, amerigo5 amerigo5 escribió:
> I want to connect to a database (PostgreSQL) and query a database from
> ASP.Net (XSP). Is the code for an .EXE application and ASP.Net the same?
> I just notice that the sample included in XSP server is different from the
> example I saw in the go-mono web site. The way it connects to the PostgreSQL
> is different. Any comments is appreciated.
The way it's done in XSP samples is more generic as it may use
PostgreSQL or any other and gets the name of the Type and Assembly from
the configuration file.
The only difference is that instead of creating a new instance of
PgConnection, it creates an instance of the class in the configuration
file (web.config). The rest is the same.
More information about the Mono-devel-list