![]() I tried the following two MSDN articles with their examples but they are not quite what I want above:ĮDITIn the real data, the categories would not contain numbers in front of them. Please note that the number of rows in each group would change dynamically based on the data entry by the user and the demo data shown above is not the real data. So, in the above example, the first two rows (group C1) would have default background color, the next three rows (group C2) would have a dark grey background color, the rows for group C3 would have the default background color, the rows for group C4 would have dark grey background color, and so on. I would like to set the alternating row style of the DataGridView based on each group (not for each row). ![]() The table has a column called Category that displays a category the product is in. In my Winforms 4.5 app, I am binding a DataGridView to a SQL Server Db table called Products. TaTrifynor taTrifynor Not the answer you're looking for? Browse other questions tagged vb.net or ask your own question. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |