[Mono-list] Unknown column error when calling MySql stored procedure from Mono C#

gewe gewe at hofmail.zzn.com
Sun Sep 7 06:58:33 EDT 2008




Chris Howie-3 wrote:
> 
> On Sat, Sep 6, 2008 at 11:34 AM, gewe <gewe at hofmail.zzn.com> wrote:
>> When I call this procedure from the following C# code, I get an "Unknown
>> column 'p_day' in 'field list'" error:
> 
> Try using "?p_day" and "?p_amount" as the names in your C# code.
> 
> -- 
> Chris Howie
> http://www.chrishowie.com
> http://en.wikipedia.org/wiki/User:Crazycomputers
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 
> 

That changes the error message into "Unknown column 'day' in 'field list'".
What should the question mark do? Is it documented somewhere?
-- 
View this message in context: http://www.nabble.com/Unknown-column-error-when-calling-MySql-stored-procedure-from-Mono-C--tp19347812p19356896.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list