-
文件上传与管理
以前的Web应用程序中,要实现文件上传是件很麻烦的事,但这一操作在Web应用程序中又会经常用到,因此令开发人员非常头痛。而在ASP.NET 4.0中,要实现文件上传则轻而易举。本实例实现的具体功能如下:
多文件上传功能。该功能不仅可以动态添加上传控件,而且上传文件的数量也不受任何限制。
区分上传的同名文件。
为上传的文件动态添加文件编号。
实现文件的搜索功能。
查看文件是否存在。
查询已上传的文件信息。
删除文件信息。
下载文件。
- 2022-03-17 19:44:53下载
- 积分:1
-
在 SQL Server 使用 EF 和 ASP.NET 存储图像
翻译 maninwest@Codeforge 作者:Eduard Keilholz @ Codeproject在 SQL Server 中存储图像并在 ASP.NET 网站上显示的快速帮助背景解决方案包含两个部分。一个 ASP.NET WebForms 项目,一个 ASP.NET MVC 4 项目。MVC 演示项目包含两个控件, 一个 HomeController ,一个 DocumentController。DocumentController 包含两个操作方法来上传和下载图像。 HomeController 使用这些方法上传和显示数据库中的图像。为了更好地显示上传功能,我添加了dropzone.js (http://www.dropzonejs.com/).ASP.NET WebForms 项目包含一个 web 表单和两个泛型手柄。一个手柄处理从数据库上传图像,一个处理下载图像到数据库。web 表单使用这些手柄发布图像和获取图像。 使用代码 为了简单起见,我添加了另一个项目到此解决方案:一个简单的类库项目,包含从 Document 表格所在的数据库中创建的Entity Framework 模型。 MVC 一瞥我创建了一个新的控制器 HomeController 并选择 "Empty MVC Controller" 作为模板。这个控制器通过从 Index 操作方法返回视图控制器有点像这样.[HttpGet]
p
- 2023-01-12 14:40:03下载
- 积分:1
-
c# 类 继承了Gridview,并有新的功能,很实用
c# 类 继承了Gridview,并有新的功能,很实用-c# class inherits the Gridview, and have new features, very practical
- 2022-12-05 05:50:02下载
- 积分:1
-
Beida Jade Bird' s three
北大青鸟的三波书店,用mvc架构,有兴趣可以下载参考-Beida Jade Bird" s three-wave bookstores, with mvc architecture, there is interested can download the reference
- 2023-03-13 16:45:03下载
- 积分:1
-
此代码是基于国产数据openbase的文件列表生成
此代码是基于国产数据openbase的文件列表生成-This code is based on the data openbase made a list of files generated
- 2022-03-06 22:03:28下载
- 积分:1
-
判断数据是否为空值不是则转换为其他指定类型.
判断数据是否为空值不是则转换为其他指定类型.-To determine whether the data value is not empty then converted to other specified types.
- 2023-05-25 12:10:04下载
- 积分:1
-
asp.net set an online examination system, Rong graduation design, there is a nee...
asp.net定的一个在线考试系统,肜于毕业设计,有需要论文的请联系我-asp.net set an online examination system, Rong graduation design, there is a need papers please contact me
- 2022-03-31 15:20:43下载
- 积分:1
-
在线订房 在线订房 在线订房
在线订房 在线订房 在线订房-english english
- 2022-08-19 07:20:10下载
- 积分:1
-
订单管理系统
Order Management System
VB.NET
- 2022-08-02 21:53:17下载
- 积分:1
-
FWFsoftwfLibru
完全支持.net 2.0编写,对下一代操作系统平稳过渡。 支持将DataGridView导出为{文本xls、csv、htm、xml}四种格式。 支持将DataTable导出出为{文本xls、csv、htm、xml}四种格式。 支持直接调用"ExecuteExport"的快捷调用。 组件经过多种平台严格负荷压力测试,性能稳定、处理高效、资源占用低。
(Full support for the net 2.0 written in a smooth transition for the next generation operating system. Support for exporting a DataGridView {text xls, csv, htm, xml} four kinds of formats. Support to export DataTable {text xls, csv, htm, xml} four kinds of formats. Support direct calls to the " ExecuteExport" quick call. Components through a variety of platforms strict load stress testing, performance, stability, and efficient processing and low resource consumption.)
- 2012-07-20 08:42:55下载
- 积分:1