is it possible that i can have equivalent of TableStyle in DataGrid for VB .Net
1) actullay i have 2 tables relted to each other in a dataset i am being able to bind the essential grid with DataSet but now both of my table have more columns than what i actually want to show the users ? in VB .net grid i can do this by applying two tablestyles and only adding those columns which i want to show the users and all the other columns will be suppressed automatically
2) how to set the HeaderText for the column
ADAdministrator Syncfusion Team July 7, 2003 02:15 PM
The answer to both questions is GridBoundColumns.
GridDataBoundGrid.GridBoundColumns plays a similar role as DataGrid.TableStyle.GridColumnStyles. So, you shoul dadd GridBoundColumns to the GridDataBoundGrid for teh columns you want to see. Make sure you set the MappingName property. There is also a HeaderText property that you can set. You can do this either from code or from the designer.