如何在数据库中保存大量html内容?开发CMS [英] How to save large html content in database ? developing CMS

查看:88
本文介绍了如何在数据库中保存大量html内容?开发CMS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为我的网站开发内容管理系统.我面临如何在数据库中保存大型html内容的问题.存储过程将其参数限制为8000个字符,并且不接受超过此长度的任何内容.所以我怎么能将我的内容存储在数据库中.

或者,还有其他更好的方法可以将HTML内容保存在工作中.还有如何存储图像(在html内)或图像的链接,实现方案是什么?


许多CMS系统正在运行,它们如何实现此功能.

请提出更好的想法,以及如何处理此要求.

我正在使用的工具:
C#.net
SQL Server 2005
Asp.net 2.0

I am developing Content Management System for my website. I am facing issues how to save large html content in database. Stored Procedures limits its parameters to 8000 characters, and not accept any content more than this length. so how could i store my content in database.

Or there is any other better way to do the job, where to save the html content. Also how the images (inside html) be stored, or its links, what would be the implementation scenario?


Lots'' of CMS systems are running, how they have implemented this functionality.

Please suggest better ideas, how to deal with this requirement.

Tools I am using :
C#.net
SQL Server 2005
Asp.net 2.0

推荐答案

LOB对象.

请参阅本文 [
LOB objects.

See this article[^] for more info.

Hope this helps.


这篇关于如何在数据库中保存大量html内容?开发CMS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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