随笔分类 -  DevExpress专区

主要涉及C/S架构上面的用法,和XtraReport使用
摘要:comboBoxEdit1.Properties.Items[comboBoxEdit1.SelectedIndex].ToString() 使用前需要先确认 comboBoxEdit1.SelectedIndex不能等于-1,不然报错。 阅读全文
posted @ 2009-12-03 10:50 坚持·坚持 阅读(2831) 评论(0) 推荐(0)
摘要:You can set the selected index property of the RepositoryItemComboBox in the InitNewRow event as follows: private void gridView_InitNewRow(object sender, DevExpress.XtraGrid.Views.Grid.InitNewRowEvent... 阅读全文
posted @ 2009-11-21 09:51 坚持·坚持 阅读(2128) 评论(0) 推荐(0)
摘要:1、DataGridView写了一个函数实现这个功能,只要把这个函数放在DataBindingComplete(object sender, DataGridViewBindingCompleteEventArgs e) 事件中 具体实现函数为: public static void CreateNumber(DataGridView dg) { dg.RowHeadersWidth = 50; ... 阅读全文
posted @ 2009-07-24 16:39 坚持·坚持 阅读(1210) 评论(0) 推荐(1)