跟小D每日学口语

01 2008 档案

摘要:截取字符串函数:解决了中文与英文截取不同的问题。 CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 字符串截取函数#region 字符串截取函数 2 public static string CutString(string inp... 阅读全文
posted @ 2008-01-11 19:27 Danny Chen 阅读(1260) 评论(0) 推荐(0) 编辑
摘要:当初学 C# 时是找个人大概问了一下数据类型和分支语句就开始做项目了。这两天又全面的看了一下相关的基础知识(学而时习之嘛),总结了25个问题: 1.静态变量和非静态变量的区别? 2.const 和 static readonly 区别? 3.extern 是什么意思? 4.abstract 是什么意思? 5.internal 修饰符起什么作用? 6.sealed 修饰符是干什么... 阅读全文
posted @ 2008-01-10 20:20 Danny Chen 阅读(226) 评论(0) 推荐(0) 编辑
摘要:CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1通常情况下,我们更多的操作是读取目录,所以,在下面的实现中,读取我们只需要一Select语句就够了,不使用递归,理论上无限级~! 2============================... 阅读全文
posted @ 2008-01-10 19:29 Danny Chen 阅读(708) 评论(0) 推荐(0) 编辑
摘要:/// /// Enterprise Library 2.0 数据访问进一步封装类 /// Copyright (C) 2006-2008 LiTianPing /// All rights reserved /// public abstract class DbHelperSQL2 { p... 阅读全文
posted @ 2008-01-10 15:22 Danny Chen 阅读(633) 评论(0) 推荐(0) 编辑
摘要:CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1static public string GetChineseSpell(string strText) 2{ 3int len = strText.Length; 4string myS... 阅读全文
posted @ 2008-01-08 13:58 Danny Chen 阅读(181) 评论(0) 推荐(0) 编辑
摘要:protected void gviewEmployees_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) { e.Row.Attributes.Add("onmouseout"... 阅读全文
posted @ 2008-01-08 00:17 Danny Chen 阅读(353) 评论(0) 推荐(0) 编辑
摘要:http://www.gotapi.com/ 语言:英语 简介:HTML,CSS,XPATH,XSL,JAVASCRIPT等API的查询网站。http://www.w3schools.com/ 语言:英语 简介:W3C制定的标准诸如XML,HTML,XSL等等的在线学习教程。http://www.xml.org.cn/ 语言:中文 简介:可以说是XML的中国官方网吧。W3C标准的翻译组织与XML系... 阅读全文
posted @ 2008-01-06 22:05 Danny Chen 阅读(166) 评论(0) 推荐(0) 编辑
摘要:1public class Util { 2 private Util() {} 3 4 // 从 querystring 集合中安全的取得一个 string. (总是不会有 null,所以叫做 'Safe') 5 public static string GetStringSafeFromQueryString(Page page, string key) { 6 string v... 阅读全文
posted @ 2008-01-01 18:44 Danny Chen 阅读(302) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示