DataGrid Columns
-
In VB.NET I have added a DataGrid control to a windows form and bound it to the dataset. However, I would like to change the order of the columns. Is there a way to do that? I have tried using: TableStyles | GridColumnStyles and then setting the HeaderText and MappingName But that doesn't seem to have any affect on the DataGrid. Thanks.
-
In VB.NET I have added a DataGrid control to a windows form and bound it to the dataset. However, I would like to change the order of the columns. Is there a way to do that? I have tried using: TableStyles | GridColumnStyles and then setting the HeaderText and MappingName But that doesn't seem to have any affect on the DataGrid. Thanks.
Please First Check MAppingName property of DataGridTableStyle either u have already set or not. U have to set that to TableName
-
Please First Check MAppingName property of DataGridTableStyle either u have already set or not. U have to set that to TableName