mte01
asked on
hide column from a datagrid + change rows colors
Hi,
i need to hide a column from a vb.net datagrid.
the datagrid source is a table from the dataset
+
i need to change the color of the rows in this grid, say fst one is blue second white third blue fourth white....
what is the simpler way to do it...
thanks
i need to hide a column from a vb.net datagrid.
the datagrid source is a table from the dataset
+
i need to change the color of the rows in this grid, say fst one is blue second white third blue fourth white....
what is the simpler way to do it...
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi aki4u
im talking about the VB.net's datagrid DataGrid.Columns(columnnum ber).Visib le = False didnt compile
razorback041 methods worked just fine,
thanks for the help anyway aki4u
im talking about the VB.net's datagrid DataGrid.Columns(columnnum
razorback041 methods worked just fine,
thanks for the help anyway aki4u
DataGrid.Columns(columnnum
to change the colors you'll need to add this to html view of your datagrid:
<AlternatingItemStyle BackColor="Blue" ForeColor="White" ></AlternatingItemStyle>