2013年11月27日
摘要: Oracle字符分割函数 阅读全文
posted @ 2013-11-27 13:51 IT宅男007 阅读(551) 评论(0) 推荐(0) 编辑
  2013年9月11日
摘要: 在使用GridView时有时会需要多行显示页脚Footer的统计,下面是一种解决方法,仅仅供各位参考在GridView的RowCreated事件中添加多行页脚,实例代码如下: 1 protected void GridView1_RowCreated(object sender, GridViewRowEventArgs e) 2 { 3 if(e.Row.RowType == GridViewRowType.Footer) 4 { 5 Tuple sum = IndexStatis... 阅读全文
posted @ 2013-09-11 10:02 IT宅男007 阅读(1135) 评论(0) 推荐(0) 编辑
  2013年1月6日
摘要: 在windows XP系统中ToolTip控件存在一个问题,为一个Button控件添加一个提示信息,代码如下:1 Button btnTest = new Button();2 btnTest.Text = "ToolTip测试";3 btnTest.Location = new Point(100, 100);4 Controls.Add(btnTest);5 ToolTip tip = new ToolTip();6 tip.SetToolTip(... 阅读全文
posted @ 2013-01-06 17:23 IT宅男007 阅读(205) 评论(0) 推荐(0) 编辑
  2012年10月8日
摘要: 去掉form的窗体的边框后无法拖动窗体,下面简单的代码即可实现;如何去掉边框详见:http://www.cnblogs.com/lgx040605112/archive/2012/10/08/2715438.html 1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using System.Drawing; 6 using System.Text; 7 using System.Windows.Forms; 8 9 namespa. 阅读全文
posted @ 2012-10-08 16:34 IT宅男007 阅读(285) 评论(0) 推荐(0) 编辑
摘要: winform窗体去掉标题、ICO、最大化、最小化、关闭有两种方式:1、设置form的FormBorderStyle属性为None;2、设置form的ControlBox为False,设置Text为空; 阅读全文
posted @ 2012-10-08 16:26 IT宅男007 阅读(3988) 评论(1) 推荐(0) 编辑
  2012年8月20日
摘要: 服务器无法加载应用程序 '/LM/W3SVC/1/Root'。错误是 '没有注册类别' 阅读全文
posted @ 2012-08-20 14:22 IT宅男007 阅读(236) 评论(0) 推荐(0) 编辑
  2012年5月21日
摘要: //// The following code is from JDK - java.util.Arrays.toString() //public static String toString(int[] a){ if (a == null) return "null"; int iMax = a.length - 1; if (iMax == -1) return "[]";StringBuilder b = new StringBuilder(); b.append('['); for (int i = 0; ; i++) { b. 阅读全文
posted @ 2012-05-21 09:02 IT宅男007 阅读(138) 评论(0) 推荐(0) 编辑