[Mono-list] Anyone Else Have Problems With MySQL TEXT Fields?
Joe Audette
joe_audette at yahoo.com
Mon Jun 6 10:04:57 EDT 2005
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
More information about the Mono-list
mailing list