Hi,
I need to have a function to convert any files, specifically pdf,.doc,.xls,etc into binary format so that i can insert them in an xml.
Kindly help me in this regard.
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.
PJ MartinsPosted Jun 10, 2010, 2:42 PM
Convert.ToBase64String(byte[] bytes)
Convert.FromBase64String(string s)