摘要: 在DevExpress 的Grid的获取选中行中,使用这个方法 gridView1.GetSelectedRows() 返回是一个int[] 数组 以获取选中的行,不过比较有意思的是,如果没有行被选中(如当前的grid中没有记录),返回居然是一个null,而不是一个长度为0数组,这个设计真有够烂的。 为什么烂呢?考虑到如下的需要,要遍历选中记录,做一些操作,如果象这个控件这样的话,代码这么写:... 阅读全文
posted @ 2006-08-30 14:25 billqian 阅读(742) 评论(2) 推荐(0) 编辑
摘要: 1. Use only server-activated objects configured as SingleCall 只使用服务器端激活的SingleCall对象 2. Use the HttpChannel with the BinaryFormatter. Host your components in IIS if you need scalability, authenticatio... 阅读全文
posted @ 2006-08-30 13:48 billqian 阅读(1493) 评论(4) 推荐(0) 编辑