文章分类 -  C#

C#实现中华人民共和国身份证验证【转贴】
摘要:1大陸身份證號碼驗證#region 身份证验证 2private bool CheckIDCard_CHS(string IDCard) 3{ 4 string[] arrVarifyCode=("1,0,x,9,8,7,6,5,4,3,2").Split(','); 5 string[] Wi=("7,9,10,5,8,4,2,1,6,3,7,9,... 阅读全文
posted @ 2008-03-14 09:16 人是逼出来的 阅读(264) 评论(0) 推荐(0)
结合CODEPRJECT上的一个例子写的跨多行多列的DATAGRID
摘要:Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1using System; 2using System.Collections; 3using System.ComponentModel; 4using System.Dat... 阅读全文
posted @ 2008-03-04 10:42 人是逼出来的 阅读(167) 评论(0) 推荐(0)
MSDN上的关于Delegate的例子
摘要:using System; public class SamplesDelegate { // Declares a delegate for a method that takes in an int and returns a String. public delegate String myMethodDelegate( int myInt ); // Defin... 阅读全文
posted @ 2008-02-19 13:35 人是逼出来的 阅读(309) 评论(0) 推荐(0)
VS2005下实现的一个简单邮件发送程序
摘要:今天上午自己写的一个非常简单的邮件发送程序,是用vs2005写的感觉跟vs2003有些不一样的东西,写的不好大家别骂。 1using System; 2using System.Collections.Generic; 3using System.ComponentModel; 4using System.Data; 5using System.Drawing; 6using System.Te... 阅读全文
posted @ 2007-05-29 14:52 人是逼出来的 阅读(291) 评论(0) 推荐(0)