[Mono-list] ASP.NET + database: why reflection?

amerigo5 amerigo5 amerigo5@hotmail.com
Tue, 24 Jun 2003 13:57:23 -0500


I had a post/inquiry last May about this exact thing:

http://lists.ximian.com/archives/public/mono-list/2003-May/014140.html

Yeah, I agree, I hope intiutive sample like that can be included in XSP:).

-G



----Original Message Follows----
From: Maurizio Colucci <seguso.forever@tin.it>
To: mono list <mono-list@lists.ximian.com>
Subject: Re: [Mono-list] ASP.NET + database: why reflection?
Date: Tue, 24 Jun 2003 19:59:12 +0200

On Tuesday 24 June 2003 18:46, Maurizio Colucci wrote:
 > >
 > > It's there to allow changing the database using the configuration 
files.
 > > If you know in advance that you're gonna use mysql or postgres or
 > > whatever it is much simpler than that. I bet your teacher wants you to
 > > find out how.
 >

 > I _did_ try to do without reflection...
 >
 > <%@ language="C#" %>
 > <%@ import namespace="System.Data" %>
 > <%@ import namespace="ByteFX.Data.MySQLClient" %>
 >

<%@ Assembly name = "ByteFX.Data" %>

Shit, I lost one entire day on this. :-)

I REALLY feel xsp/test shoudl contain a more trivial example of data
access with ASP.NET. :-)




_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail