jawance
啦啦。
Sign in
|
Join
|
Help
Home
Contact
About
RSS
Atom
Comments RSS
Search
Tags
.net
Ajax
IT 新闻
JavaScript
SimpleGridView
webResource
好文美文
新资料
News
啦啦。
Navigation
Home
Blogs
Forums
Photos
Roller
Control Panel
Archives
October 2008 (2)
September 2008 (1)
April 2008 (1)
March 2008 (3)
January 2008 (2)
December 2007 (2)
November 2007 (2)
October 2007 (4)
September 2007 (8)
August 2007 (5)
July 2007 (1)
June 2007 (5)
May 2007 (5)
April 2007 (4)
March 2007 (2)
February 2007 (1)
January 2007 (5)
December 2006 (12)
November 2006 (6)
September 2006 (1)
August 2006 (3)
July 2006 (1)
June 2006 (5)
May 2006 (3)
April 2006 (2)
数据库
多语言要求下的数据库字段设计
April 2007 - Posts
0
Comments
web 多文件批量上传 之二
by
jawance
用一个页面实现文件上传,一般只需要使用HtmlInputFile的runat=server版本就行了,但是现在有些不同的地方: 1、直接上传到数据库的image类型的字段中,而不产生本地文件; 2、多个文件同时上传; 3、上传的文件组最后要同其他相关信息进行关联; 解决方法主要有两种: 1、每次上传一个文件到临时目录,返回并保存相关信息到ViewState,最后提交的时候,统一将文件写入数据库,并根据相关信息做关联; 2、每次上传一个文件到数据库,返回并保存相关信息到ViewState,最后提交的时候,根据相关信息做关联; 3、每次采集HtmlInputFile中的信息到ListBox,最后统一上传多个文件,并做相关关联; 无疑,第三种是其中最好的一种,但是上传多个文件却比较麻烦,本来想在提交的时候,分别多次设置HtmlInputFile.PostedFile.FileName属性,再多次调用SaveAs进行上传,但在一次提交过程中它不允许重设FileName属性(事后想想,确实应该不行:P) 后来又想在后台动态添加HtmlInputFile控件并且设其Visible属性为false,结果好像还是不行...
0
Comments
web 批量上传 使用 ArrayList 之一
by
jawance
Introduction I will briefly demonstrate how to upload multiple files using one HttpInputFile control - Hotmail style! Many developers have been asking how to upload multiple files at once. The <Input type=file/> allows a user to select only one file at a time thereby forcing a developer to use multiple <Input type=file/> on a page. Background This article is a repost of an article that I posted here about a week ago. There was a bug in the first article so I took it down after explaining...
0
Comments
vb 6.0 有没有办法掉用c#写的 dll文件?
by
jawance
里面有两个方法 Encrypt(string pToEncrypt,string sKey) //加密 Decrypt(string pToDecrypt,string sKey) //解密 然后你这样写代码: using System; using System.Runtime.InteropServices; namespace 名称空间 { // 首先建立接口,这个是Com必须使用的 [Guid("61BB24CB-4C2C-40f8-9E13-1AC5E558D56A")] public interface IEncrypt { string Encrypt(string pToEncrypt,string sKey); string Decrypt(string pToDecrypt,string sKey); } // 写接口的实现 [Guid("CB52E990-185E-4448-A7E8-C88ECAD563AB")] public class 类名称 : IEncrypt { public string Encrypt(string pToEncrypt,string...
Filed under:
webResource
0
Comments
扩展 ASP.NET 2.0 资源提供程序模型
by
jawance
show toc 欢迎来到 MSDN > Web/服务 扩展 ASP.NET 2.0 资源提供程序模型 发布日期: 2006-11-17 | 更新日期: 2006-11-17 Michèle Leroux Bustamante IDesign Inc 适用于: • Microsoft ASP.NET 2.0 • Microsoft Visual Studio 2005 • 本地化 摘要 : Microsoft ASP.NET 2.0 在本地化 Web 应用程序方面进行了许多奇妙的改进。即使有了所有这些奇妙的优点,但在本地化站点后不久,您可能还会开始考虑扩展性。本文将帮助您应用 ASP.NET 的扩展功能处理企业本地化方案并改进本地化开发过程。 下载本文中所用的源代码 。 本页内容 简介 哎哟,我的资源应去哪里? 资源提供程序模型 构建数据库资源提供程序 从外部程序集访问资源 支持自定义本地化表达式 结束语 致谢 其他资源 简介 ASP.NET 2.0 在本地化 Web 应用程序方面进行了许多奇妙的改进。我曾在 MSDN 文章“ ASP.NET 2.0 Localization Features...
Filed under:
webResource