hi,
i want to retrieve the binary data from a sql table and also to convert the binary data to a string file format.any one pls give the related link about this.
Thanks
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
dheeraj pkPosted Feb 2, 2011, 9:08 AM
You can use Encoding class to convert Byte Array to string.. Here is the Sample code for that...
String dataString= Encoding.ASCII.GetString(byteArray) ;
** You must include System.Text Namespace..