Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
340
Databinding against System.Data.Linq.Binary in a grid
posted

I have N-Tier application with a WCF Plain Service and a Windows Forms presentation layer.

I have a data table with the following design:

Partial Public Class SysArbetsdagtypKod

 Private _DagtypKod_pk As String    

Private _DagtypNamn As String    

Private _Arbetsdag As System.Data.Linq.Binary

The WCF read method returns a BindingList(Of SysARbetsdagtypKod)

In the Form_Load event I set the UltraWinGrids datasource property to the binding list and try to change some properties of the Arbetsdag column

such as setting the editorControl to a UltraWinCheckEditor Control or setting the column style to a TriStateCheckbox but this throws an exception.

 

It seems that the UltraWinGrid cannot handle the System.Data.Linq.Binary datatype correctly.

 

How do I resolve this?