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
Convert any file to binary
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

PJ MartinsRank #2,548 · 548 reputationPosted Jun 10, 2010, 10:42 AM EDT
Convert.ToBase64String(byte[] bytes)
Convert.FromBase64String(string s)