wallaceoc80
Programmer
I have a DataGrid that uses Textboxes to display data from a database. The reason I use textboxes is because the contents are long file names without spaces that cause problems for my column widths.
I have set up the DataGrid to have a different background color for alternating rows. To try and make my TextBoxes fit in I have set the background color of them to the the color of the DataGrid.
However, this means that the TextBoxes only have the correct background color every second row. Is there any way that I can set it up so that the background color of the Textboxes also alternat every second row?
Thanks for the help,
Wallace
I have set up the DataGrid to have a different background color for alternating rows. To try and make my TextBoxes fit in I have set the background color of them to the the color of the DataGrid.
However, this means that the TextBoxes only have the correct background color every second row. Is there any way that I can set it up so that the background color of the Textboxes also alternat every second row?
Thanks for the help,
Wallace