文章分类 -  Datagrid

Winform下的Datagrid的列风格(5)—DataGridTreeViewColumn
摘要:class DataGridTreeViewColumn: DataGridColumnStyle { private TreeView myTreeView = new TreeView (); private DataView ChoiceDataViewSource; private string ChoiceDisplayField... 阅读全文
posted @ 2005-04-02 15:08 爱好 阅读(1199) 评论(1) 推荐(0) 编辑
Winform下的Datagrid的列风格(4)—DataGridComboBoxTableViewColumn
摘要:class DataGridComboBoxTableViewColumn: DataGridColumnStyle {//与DataGridComboBoxColumn不同,显示时使用DataTable,下拉时使用DataView private ComboBox myComboBox = new ComboBox (); private DataView... 阅读全文
posted @ 2005-04-02 12:41 爱好 阅读(884) 评论(0) 推荐(0) 编辑
Winform下的Datagrid的列风格(3)—DataGridTimePickerColumn(转)
摘要:转载自msdn,显示datagrid中日期型列样式 class DataGridTimePickerColumn : DataGridColumnStyle { private DateTimePicker myDateTimePicker = new DateTimePicker(); // The isEditing field tracks whethe... 阅读全文
posted @ 2005-04-02 12:38 爱好 阅读(71584) 评论(5) 推荐(0) 编辑
Winform下的Datagrid的列风格(2)—DataGridTextBindColumn
摘要:class DataGridTextBindColumn:DataGridColumnStyle { private DataView ChoiceDataViewSource; private string ChoiceDisplayField; private string ChoiceValueField; public Dat... 阅读全文
posted @ 2005-04-02 11:15 爱好 阅读(864) 评论(0) 推荐(0) 编辑
Winform下的Datagrid的列风格(1)—DataGridComboBoxColumn
摘要:classDataGridComboBoxColumn:DataGridColumnStyle { privateComboBoxmyComboBox=newComboBox(); privateDataViewChoiceDataViewSource; privatestringChoiceDis... 阅读全文
posted @ 2005-04-02 02:33 爱好 阅读(2577) 评论(10) 推荐(0) 编辑