in converter class. because input 'value' variable is System.Data.Lin q.Binary type so you have to convert it to byte[].
Code here:
public object Convert(object value, Type targetType, object parameter, System.Globaliz ation.CultureIn fo culture)
{
if (value != null)
{
System.Data.Lin q.Binary bnr = (System.Data.Li nq.Binary)value ;
byte[] vl = bnr.ToArray();...