摘要:
using System;using System.IO;using System.Security.Cryptography; namespace Common{ /// <summary> ///Copyright (C), 2004, ///File name:Hasher.cs ///Des 阅读全文
posted @ 2004-06-22 14:47
kwklover
阅读(2077)
评论(1)
推荐(0)
摘要:
using System;using System.IO;using System.Text;using System.Security.Cryptography; namespace Common{ /// /// 加密解密通用类库函数 ///Copyright (C), 2004, kwklover(邝伟科) ///File name:Crypto.cs ///Author:邝伟科 ... 阅读全文
posted @ 2004-06-22 14:42
kwklover
阅读(5455)
评论(8)
推荐(0)
摘要:
1,SqlServer存储过程的事务处理一种比较通用的出错处理的模式大概如下:Create procdure prInsertProducts( @intProductId int, @chvProductName varchar(30), @intProductCount int)ASDeclare @intErrorCode intSelect @intErrorCode=@@ErrorBeg... 阅读全文
posted @ 2004-06-22 14:23
kwklover
阅读(6308)
评论(3)
推荐(1)
摘要:
1,基于windows的安全验证 web.config文件: 在.aspx文件中无需任何代码就可以实现验证,但可以在.aspx文件获取登陆用户的信息 需导入命名空间:System.Security.Principal if(Use... 阅读全文
posted @ 2004-06-22 14:07
kwklover
阅读(2007)
评论(0)
推荐(0)
摘要:
在使用asp.net将图片上传并存入SqlServer中,然后从SqlServer中读取并显示出来 一,上传并存入SqlServer 数据库结构 create table test { id identity(1,1), FImage image } 相关的存储过程 Create proc UpdateImage ( ... 阅读全文
posted @ 2004-06-22 13:34
kwklover
阅读(3959)
评论(7)
推荐(0)
浙公网安备 33010602011771号