如何在二进制文件中转换html文件 [英] how to convert a html file in binary file

查看:539
本文介绍了如何在二进制文件中转换html文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





无论如何将html文件转换为二进制文件。



我正在使用asp.net中的一个编辑器,它以html格式给出值(文本),我必须转换成二进制文件保存在数据库中,



有没有办法???请建议..

解决方案

问题根本没有意义 - 请看我对这个问题的评论。



如果要在数据库中保存HTML,请将其另存为文本( varchar text )或更好的是,Unicode文本( nvarchar ntext )。请参阅:

http:// technet .microsoft.com / zh-CN / library / ms191200%28v = sql.105%29.aspx [ ^ ]。



-SA

Hi

Is there anyway to convert html file into binary file .

I am using a editor in asp.net which is giving the value (text ) in html format , i have to convert into binary file to save in database ,

Is there any way ??? please suggest ..

解决方案

The question as is makes no sense at all — please see my comment to the question.

If you want to save HTML in database, save it as text (varchar, text) or, better, Unicode text (nvarchar, ntext). Please see:
http://technet.microsoft.com/en-us/library/ms191200%28v=sql.105%29.aspx[^].

—SA


这篇关于如何在二进制文件中转换html文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆