//convert varbinary to string c# public byte[] binaryData { get; set; } //FOR ASCII Encoding string ascii = System.Text.Encoding.ASCII.GetString(binaryData); OR //FOR UTF8 Encoding string utf = System.Text.Encoding.UTF8.GetString(binaryData); OR //FOR Unicode Encoding string unicode = System.Text.Encoding.Unicode.GetString(binaryData); OR //CONVERT BYTE ARRAY TO HEXA string AsString = SecurityManager.ByteToHexBitFiddle(binaryData); //CONVERT BYTE ARRAY TO HEXA public static string ByteToHexString(byte[] bytes) { char[] c = new char[bytes.Length * 2]; int b; for (int i = 0; i < bytes.Length; i++) { b = bytes[i] >> 4; c[i * 2] = (char)(55 + b + (((b-10)>>31)&-7)); b = bytes[i] & 0xF; c[i * 2 + 1] = (char)(55 + b + (((b-10)>>31)&-7)); } return new string(c); }
» Yii 1.0/2.0 Interview Questions The Yii is a pure OOP based framework, free, open source, high-performance, component-based PHP framework for rapidly developing modern Web Applications and the name Yii is pronounced as Yee or [ji:]).... Posted In Yii » Slim Framework Interview Questions Slim Framework is a PHP micro framework that helps PHP developers to write quickly and easily a powerful web applications and APIs. Posted In Slim PHP » PHPixie Framework Interview Questions PHPixie is a Modern, open-source, fast, secure and a lightweight MVC PHP framework designed for speed and simplicity. Posted In PHPixie PHP » Fat Free Framework (F3) Interview Questions A powerful yet easy-to-use PHP micro-framework designed to help you build dynamic and robust web applications - fast! Posted In Fat Free Framework PHP » Aura PHP Framework Interview Questions Aura Framework is a collection of High-quality, well-tested, standards-compliant, decoupled libraries that can be used in any...