I am saving my word document file in sql server using datatype varbinary(MAX) ....I need to get that byte[] into string and display in multiline textbox...
Convert byte[] to string using C# asp .net
Hi Friends,
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.
Nattudurai EswaramurthyPosted Jun 8, 2012, 8:06 AM
System.Text.Encoding enc = System.Text.Encoding.ASCII;
string myString = enc.GetString(myByteArray );
Nattudurai EswaramurthyPosted Jun 8, 2012, 8:05 AM