hi friends..
i want to store a text into a binary format in database(sqlserver)..
how to do that..
i need coding for that in c# or vb..
regards
gopal
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.
Bechir BejaouiPosted Dec 9, 2008, 7:57 PM
string instance = "Bechir Bejaoui";
Encoding encoding = Encoding.Default;
byte[] instanceToByteArray = encoding.GetBytes(instance);