上一页 1 ··· 273 274 275 276 277 278 279 280 281 ··· 324 下一页
摘要: 以下介绍的换肤控件(排名不分先后)基本上都是要花钱注册的,委实郁闷,可以考虑自己贴图实现。 1. 东日IrisSkin IrisSkin 共有两个版本,一个是IrisSkin.dll 用于.Net Framework1.0/1.1 和IrisSkin2.dll 用于.Net Framework2.0版本。详细内容见安装文件的help文档。 除此之外,东日还有两个很cool的Menu: Matrix... 阅读全文
posted @ 2009-07-26 10:50 emanlee 阅读(9643) 评论(1) 推荐(3) 编辑
摘要: 原代码: private void textBox1_KeyPress(object sender, KeyPressEventArgs e) {   if(!char.IsDigit(e.KeyChar)) e.Handled = true;   //'\b'是退格键值   if(e.KeyChar=='\b'||e.KeyChar=='.') e.Handled ... 阅读全文
posted @ 2009-07-26 10:50 emanlee 阅读(1342) 评论(0) 推荐(0) 编辑
摘要: C# WinForm开发系列 - Open-Source Controls     整理了一些在WinForm开发中可以使用的开源组件.(文章及相关代码搜集自网络,仅供学习参考,版权属于原作者! ). 1. 仿office 2007的Ribbon风格面板(该控件模仿office 2007的Ribbon风格,显示操作面板。) 2. .NET中最全功能的表格控件 [翻... 阅读全文
posted @ 2009-07-26 10:50 emanlee 阅读(50208) 评论(0) 推荐(6) 编辑
摘要:   Add, Edit, and Delete in DataGridView with Paging http://www.codeproject.com/KB/grid/DataGridView_manipulation.aspx 4.45 out of 5   DataGridView paging using virtual mode http://b... 阅读全文
posted @ 2009-07-26 10:49 emanlee 阅读(866) 评论(0) 推荐(0) 编辑
摘要: for ACCESS 数据库: update a, b set a.name=b.name1 where a.id=b.id for SQL Server 数据库: "update a set a.name=b.name1 from a,b where a.id=b.id" 以下在SQL Serve 阅读全文
posted @ 2009-07-24 19:03 emanlee 阅读(35172) 评论(1) 推荐(1) 编辑
摘要: -- Try:/* format (123) 456-7 to 123-4567 */ select SUBSTRING('(123) 456-7', 2, 3) + '-' + SUBSTRING('(123) 456-7', 7, 3) + SUBSTRING('(123) 456-7', 11... 阅读全文
posted @ 2009-07-24 19:03 emanlee 阅读(380) 评论(0) 推荐(0) 编辑
摘要: Issue:canGrow=True, canShrink=False All the content are shrinked to the left in Safari. Export report as Excel, sometimes, it is in disorder format.canGrow=False, canShrink=False Some of the long text... 阅读全文
posted @ 2009-07-23 13:24 emanlee 阅读(1605) 评论(0) 推荐(0) 编辑
摘要: 存储过程中如果有临时表,或者有复杂的业务逻辑,此时,要生成DataSet会失败。CREATE PROCEDURE [dbo].[usp] AS BEGIN SET NOCOUNT ON SELECT * INTO #temptable FROM cust... 阅读全文
posted @ 2009-07-23 12:57 emanlee 阅读(436) 评论(0) 推荐(0) 编辑
摘要: 通过继承系统的ComboBox,写一个新控件ComboBoxEx,重写它的焦点以及文本更新事件,就可以轻松实现拼音首字母检索了。例如:输入 gd ,就可以出现“广东”。 1 using System; 2 using System.Collections.Generic; 3 using System.Text; 4 using System.Windows.Forms; 5 using Syst... 阅读全文
posted @ 2009-07-21 20:59 emanlee 阅读(3943) 评论(0) 推荐(0) 编辑
摘要: Gets or sets the text content of the RadComboBox control. Use RadComboBox1.Text NOT Use RadComboBox1.SelectedItem.Text 阅读全文
posted @ 2009-07-21 19:57 emanlee 阅读(228) 评论(0) 推荐(0) 编辑
上一页 1 ··· 273 274 275 276 277 278 279 280 281 ··· 324 下一页