Well spotted. I was going to suggest that next. ;)

I take it your unit tests missed that?

On Mon, Nov 15, 2010 at 1:48 PM, Greg Keogh <[email protected]> wrote:
> Miguel, Stephen,
>
>
>
> My DataGrid column converter is now working correctly and showing pretty
> binary.
>
>
>
> After tracking back several levels I found a bug where the ADO DataTable
> which is the ItemsSource of my grid had every DataColumn.DataType set to
> typeof(string). No wonder I was seeing "System.Byte[]" even though I was
> dead sure I was putting binary data into the table. Setting the table value
> was silently converting it a damn string (I didn’t know it did that).
>
>
>
> Greg
>
> _______________________________________________
> ozwpf mailing list
> [email protected]
> http://prdlxvm0001.codify.net/mailman/listinfo/ozwpf
>
>
_______________________________________________
ozwpf mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozwpf

Reply via email to