如何将上传的网站信息存储在asp.net中的文件夹中 [英] how to store uploaded website information in a folder in asp.net

查看:55
本文介绍了如何将上传的网站信息存储在asp.net中的文件夹中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我将开发一个网站,用户可以在其中创建自己的网站.我的问题是,是否有可能将整个上传的信息存储在单独的文件夹(信息,文本,图像)中,并在用户希望浏览时继续从该文件夹中检索数据.否则我必须仅使用数据库存储上传的数据.

抱歉,我无法解释所有问题,希望您能理解我的问题.请回答此问题. >
如果将图像和文件存储在数据库中,则数据库将变得太大.如果只是文本,则将其存储到数据库中.

因此最好在文件系统中使用它.


Hi All,

I''m going to develop a website where user can create their own website. My question is, is there any possibility that i can store whole uploaded informaton in a separate folder(information like,texts,images) and keep retriving data from that folder whenever user wants to browse.Or else i must use database only store uploaded data.

Sorry i''m not explaining everything and hope that you understood my question.please reply to this.

解决方案

you store the data in both the ways.

If you store images and files in database, the database will become too bulky. if it is only text then store it into database.

So its better to use it in file system.


这篇关于如何将上传的网站信息存储在asp.net中的文件夹中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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