[Mono-list] DataBinding

Jones, Larry LJones@Lithonia.com
Fri, 2 May 2003 01:14:08 -0700


See earlier postings.

Larry Jones
Hydrel/Lithonia Lighting


-----Original Message-----
From: Daniel Morgan [mailto:danmorg@sc.rr.com]
Sent: Thursday, May 01, 2003 8:37 AM
To: Gonzalo Paniagua Javier; mono-list@lists.ximian.com
Subject: RE: [Mono-list] DataBinding


By the way, Mono's System.Data.SqlClient does not support trusted
connections aka integrated security.  When connecting to a Microsoft =
SQL
Server, you must specify User ID and Password.

Here is an example connection string:
"Server=3DMYSERVER;Database=3Dmydb;User ID=3Dmyuser;Password=3Dmypass"

You would set it like:

string constr =3D
	"Server=3DMYSERVER;" +
	"Database=3Dmydb;" +
	"User ID=3Dmyuser;" +
	"Password=3Dmypass";
IDbConnection dbcon;

// create your connection object somehow
// this is just an example
dbcon =3D (IDbConnection) System.Data.SqlConnection();

dbcon.ConnectionString =3D constr;

dbcon.Open();


-----Original Message-----
From: mono-list-admin@lists.ximian.com
[mailto:mono-list-admin@lists.ximian.com]On Behalf Of Gonzalo Paniagua
Javier
Sent: Thursday, May 01, 2003 11:25 AM
To: mono-list@lists.ximian.com
Subject: Re: [Mono-list] DataBinding


El jue, 01 de 05 de 2003 a las 02:51, Jones, Larry escribi=F3:
> I got a test MS Sql access going in an ASP.NET (.aspx) page by doing
> response.writes.  But when I tried to DataBind it to a DataList or
Datagrid,
> it would fail or hang.  I could run the exact same program on a IIS =
5.0
> Server with the same Sql Data base accessed and it runs fine.  So
something
> is wrong with the .aspx DataBinding.

No. Mono's ASP.NET databinding is fine.

May be you have a problem with the connection to the DB not being
established or stuff like that.

-Gonzalo


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

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