It didn't get broken.  It got replaced by the ? syntax.  You can use the old
@ syntax by specifying oldsyntax=yes on your connection string.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, November 15, 2004 1:45 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [Mono-list] help with MySqlParameter

Yes,

The @ char used to work, but got broken in a recent build.
(It used to work for me in the old bytefx drivers)

Greetz,
-- Rob.

> -----Original Message-----
> From: Peter [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 15, 2004 6:53 PM
> To: mono-list
> Subject: Re: [Mono-list] help with MySqlParameter
> 
> Sergio,
> 
> Try using '?user' for you parametername.
> 
> You could try the following:
> 
> string connstr = "... valid connection string here ...";
> MySqlParameter name = new MySqlParameter("?user",MySqlDbType.VarChar);
> name.Value="admin";
> DataRow usr = MySqlHelper.ExecuteDataRow(connstr, "SELECT * FROM usr WHERE
> username=?user", name);
> 
> Peter
> 
> _______________________________________________
> Mono-list maillist  -  [EMAIL PROTECTED]
> http://lists.ximian.com/mailman/listinfo/mono-list
_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to