DataGridView Merge Cells
Collapse
X
-
You had a similar thread before, right? Though I guess they are slightly different...
... did you ever find a solution to that one? I remember googling around but couldn't find anything helpful for you.
For this one, I think you're in the same boat... you'll have to do this manually. I'd recommend parsing through the DataTable's rows and then moving things into a new DataTable (the merged one). If the row's left column already exists in the merge DataTable, do nothing (or figure out what to do when the values differ). If it does not exist, add it in.
Good luck! -
If your data is stored in a DB you can get the data in the desired format by incorporating the distinct keyword into your select statement.
Nice one :) Can you tell I'm in data manipulation mode? Bah...Comment
-
But Linq's syntax can take a while to get used too and the performance impact of Linq is not worth it when SQL can produce the same results by adding a single keyword.Comment
Comment