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

Reply via email to