The last thing (hopefully) i need help with to finish this project is around grouping data together and displaying the data in a DGV. I am iterating through csv files with each file representing a single day in the week. I would like the data from each file to be grouped or seperated within the DGV and possibly have a header with the file name separating each file.
How would i group the data together and display that into my DGV?
Grouping rows of data together
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Re: Grouping rows of data together
For that it would be best to use a ListView. ListView have a concept of grouping and allows defining groups with headers and details. DBV does not have this capability.
Re: Grouping rows of data together
Here is one solution in DGV that seems simple enough.
https://stackoverflow.com/questions/244 ... tagridview
https://stackoverflow.com/questions/244 ... tagridview
Re: Grouping rows of data together
Im stuck in DGV land at this point but thanks for the *squirrel* moment...
Re: Grouping rows of data together
Any chance you can help translate that article into powershell? I have yet to figure out how to do that.
Re: Grouping rows of data together
First figure out what the code is doing then use PowerShell code to do the same thing. C# is very close to PS code just translate it until you understand the method then write it in PowerShell.
RIght now I don't have time to do that for you.
RIght now I don't have time to do that for you.