private string GetCellValue(object oValue) { byte [] oByte = oValue as byte []; if (oByte == null) { return(oValue.ToString()); } return(ByteConvert.ToHexString(oByte)); }
protected override object GetColumnValueAtRow(CurrencyManager source, int rowNum) { object o = base.GetColumnValueAtRow(source, rowNum); if (o.GetType() == Type.GetType("System.Byte[]")) { return(ByteConvert.ToHexString((byte[])o)); } return(o); }