摘要:
asp.net 生成图片验证码identifyingcode.aspx里没有内容略。 identifyingcode.cs文件: using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Securi... 阅读全文
摘要:
MD5的全称是Message-Digest Algorithm 5(信息-摘要算法),在90年代初由Mit Laboratory for Computer Science和Rsa data security inc的Ronald l. rivest开发出来,经md2、md3和md4发展而来。它的作用是让大容量信息在用数字签名软件签署私人密匙前被"压缩"成一种保密的格式(就是把一个任意长度的字节串... 阅读全文
摘要:
Imports System.Web.HttpContext Public Class CookieFramework '写入单个Cookie Public Shared Function WriteCookie(ByVal CookieName As String, ByVal CookieValue As String, ByVal ExpiresDate As Inte... 阅读全文
摘要:
Web Services可以将应用程序转换为网络应用程序。 通过使用Web Services,您的应用程序可以向全世界发布信息,或提供某项功能。 Web Services可以被其他应用程序使用。 通过Web Services,您的会计部门的Win 2k服务器可以与IT供应商的UXIX服务器相连接。 基本的Web Services平台是XML+HTTP。 Web services使用XML... 阅读全文
摘要:
由于最近和数据库打交道,需要用C#和SQL Server 2005进行操作,就把近段时间内的最常用的操作做个总结。本人也是第一次用C#操作数据库,所以这三种典型用法对初学者还是挺有帮助的。 以下是我在visual studio 2005上写的一个类(连的是SQL Server 2005),已经过测试通过。里面有3个方法比较典型,源码如下: using System; using... 阅读全文
摘要:
using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using ... 阅读全文