1——
DATASET中有多个DATATABLE,现在想创建一个DATAVIEW,这个DATAVIEW是从多个表格通过INNERJOIN来实现的2——
在DATAGRID中,如何设置只编辑某些列?如何设置列的标题名为字段名外的指定字符串?
DATASET中有多个DATATABLE,现在想创建一个DATAVIEW,这个DATAVIEW是从多个表格通过INNERJOIN来实现的2——
在DATAGRID中,如何设置只编辑某些列?如何设置列的标题名为字段名外的指定字符串?
也可以使用模版列来设置
,AutoGenerateColumns设置为False 用属性生成器,直接写页眉标题
http://support.microsoft.com/default.aspx?scid=kb;EN-US;3260802. assume you are talking about the datagrid in winform>>>在DATAGRID中,如何设置只编辑某些列?look into DataGridColumnStyle.ReadOnlyhttp://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwindowsformsdatagridcolumnstyleclassreadonlytopic.asp>>>>如何设置列的标题名为字段名外的指定字符串?look into DataGridColumnStyle.HeaderTexthttp://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemWindowsFormsDataGridColumnStyleClassHeaderTextTopic.asp?frame=truealso see
Tailor Your DataGrid Apps Using Table Style and Custom Column Style Objects
http://msdn.microsoft.com/msdnmag/issues/03/08/DataGrids/default.aspx
在DATAGRID中,如何设置只编辑某些列?如何设置列的标题名为字段名外的指定字符串?自己可以在程序中控制数据库的ID