S
SM
Hi,
I have a column with SQL Server type binary(20) (contain a sql handle, ex :
0x01000800B73B573B98C6B1030000000000000000)
I want to convert this column to string value with this code :
string sql_hndl = MyDataRow["ColWithBinaryType"].tostring;
I'm expecting '0x01000800B73B573B98C6B1030000000000000000' string value, but
I've got 'array[]' value
Is there any simple way to convert sql server binary type to string
Thank you for your help
I have a column with SQL Server type binary(20) (contain a sql handle, ex :
0x01000800B73B573B98C6B1030000000000000000)
I want to convert this column to string value with this code :
string sql_hndl = MyDataRow["ColWithBinaryType"].tostring;
I'm expecting '0x01000800B73B573B98C6B1030000000000000000' string value, but
I've got 'array[]' value
Is there any simple way to convert sql server binary type to string
Thank you for your help