Introduction:
In this article explains how to convert a text file into hex format
Main:
Code:
Private void TextFileToHex (string fname) { StringBuilder m_hstr = new StringBuilder(); string[] m_lines = File.ReadAllLines(Server.MapPath(fname)); foreach (string localstring in m_lines) { foreach (Char localchar in localstring) { m_hstr.Append(Asc(localchar).ToString("X")); } m_hstr.Append("0D 0A"); } return m_hstr.ToString(); } Response.Write(TextFileToHex(FileName)); |
Conclusion:
Hope,this helps
Happy Coding.
how to convert dataset to pdf file format
check this link ,http://netprogramminghelp.com/aspnet/how-to-export-a-dataset-into-pdf-using-itextsharp-dll/
I want to thank the blogger very much not only for this post but also for his all previous efforts. I found netprogramminghelp.com to be greatly interesting. I will be coming back to netprogramminghelp.com for more information.
Great post, I bet a lot of work and research went into this article.
This is a superb blog post, I found your web site searching aol for a similar content and came to this. I couldnt find to much additional info on this blog post, so it was awesome to find this one. I will likely end up being back again to check out some other articles that you have another time.
All certainly true, but I don’t take that view myself. I will stick the more conventional view. But I certainly support your right to say what you want. Interesting anyway.
Yo,good post,thanks for your share! and I want to know if i can use this text in my website if I put a link back to yours? Waiting for your answer!
Great information! I??ve been looking for something like this for a while now. Thanks!