[Mono-list] Anyone Else Have Problems With MySQL TEXT Fields?
David P. Donahue
ddonahue at ccs.neu.edu
Mon Jun 6 10:53:41 EDT 2005
No luck. I've also tried enclosing it in a "Convert.ToString()" but
neither approach seems to fix the problem.
Regards,
David P. Donahue
ddonahue at ccs.neu.edu
Joe Audette wrote:
> Try using
> DataBinder.Eval(Container.DataItem,
> "FieldName").ToString()
>
> Joe
>
> --- "David P. Donahue" <ddonahue at ccs.neu.edu> wrote:
>
>
>>I'm using the ByteFX connector to access a MySQL
>>database from my ASP
>>.NET website on Mono. Previously, I had run into a
>>problem where my
>>DataBinder.Eval(Container.DataItem, "FieldName")
>>calls would result in
>>an "Unknown target conversion type" error if the
>>field in the database
>>was of type TEXT. I was able to get around this at
>>the time by using
>>CAST(FieldName AS CHAR) in the query.
>>
>>However, it seems that the problem is still somewhat
>>intermittent. I
>>added a little more complication to the query (just
>>a couple INNER JOINs
>>and WHERE clauses, nothing major) and the error is
>>once again
>>persisting. Has anyone dealt with this before and
>>been able to work
>>around it? Any help would be much appreciated.
>>
>>
>>Regards,
>>David P. Donahue
>>ddonahue at ccs.neu.edu
>>_______________________________________________
>>Mono-list maillist - Mono-list at lists.ximian.com
>>http://lists.ximian.com/mailman/listinfo/mono-list
>>
>
>
>
> joe_audette [at] yahoo dotcom
> http://www.joeaudette.com
> http://www.mojoportal.com
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>
More information about the Mono-list
mailing list