博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

随笔分类 -  C#

摘要:下面是笔者开发SQL Server 2005 Compact Edition程序所使用的软件环境:以下为引用的内容:  ·Windows XP SP2  ·Visual Studio 2005  ·Windows Mobile 6.0 Professional SDK  ·Microsoft ActiveSync 4.5  ·Internet Ex... 阅读全文

posted @ 2009-06-02 14:59 张明 阅读(1553) 评论(0) 推荐(0) 编辑

摘要:金额转换,把金额转换成为汉字大写金额! 阅读全文

posted @ 2008-05-12 10:26 张明 阅读(1281) 评论(0) 推荐(0) 编辑

摘要:一、引入命名空间using System.Text.RegularExpressions;二、实例1、用字符串分隔:usingSystem.Text.RegularExpressions;stringstr="aaajsbbbjsccc";string[]sArray=Regex.Split(str,"js",RegexOptions.IgnoreCase);foreach(stringiinsA... 阅读全文

posted @ 2006-12-23 10:57 张明 阅读(2929) 评论(0) 推荐(0) 编辑

摘要:一、预览效果二、前台控件呈现部分 共有条记录共有页当前第页跳转到页 三、后置代码部分(CS代码) using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Security;using System.Web.UI;usin... 阅读全文

posted @ 2006-12-06 19:42 张明 阅读(1792) 评论(1) 推荐(0) 编辑

摘要://1.DateTimeDateTime now = System.DateTime.Now;now.ToString(); now.ToString("yyyy-mm-dd hh:MM:ss"); //显示: 2006-08-30 05:39:11now.ToString("yyyy-mm-dd HH:mm:ss");//显示: 2006-08-30 17:40:50System.DateTi... 阅读全文

posted @ 2006-09-23 15:39 张明 阅读(610) 评论(0) 推荐(0) 编辑