会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
星期六
首页
管理
2006年7月12日
判断字符是全角和半角
摘要: i=System.Text.Encoding.Default.GetByteCount(我)i=1 半角i=2 全角此方法可以判断任何全角半角
阅读全文
posted @ 2006-07-12 19:09 星期六
阅读(591)
评论(0)
推荐(0)
编辑
把日期格式2007/7/1转换成 Jul,12,2007
摘要: DateTime.Parse("2007/7/12").ToString("MMM,dd,yyyy",new System.Globalization.CultureInfo("en-US"))
阅读全文
posted @ 2006-07-12 19:08 星期六
阅读(273)
评论(0)
推荐(0)
编辑
把中文文字转换为拼音……
摘要: 下面是程序的源代码:/**//**//**//// /// A conversion class./// Use this class to transform CHS words to PinYin./// public class Chs2Py{ private static int[] pyvalue = new int[] { ...
阅读全文
posted @ 2006-07-12 18:55 星期六
阅读(418)
评论(0)
推荐(0)
编辑
TREEVIEW控件节点上单击鼠标右键时获得该节点的节点名
摘要: Sample code as follows://in your mouse-down eventif( e.Button == MouseButtons.Right ){ TreeNode tnCurrent = yourTreeView.GetNodeAt( e.X, e.Y ); if( tnCurrent != null ) MessageBox.Sho...
阅读全文
posted @ 2006-07-12 18:44 星期六
阅读(516)
评论(0)
推荐(0)
编辑