public static string BlobToString(Object blob) { string _str = ""; if (blob != null) { byte[] _ff = (byte[])(blob); _str = System.Text.Encoding.Unicode.GetString(_ff); } return _str; } public static byte[] StringToBlob(string _str) { byte[] expbyte = System.Text.Encoding.Unicode.GetBytes(_str); return expbyte; }