I have 3 DataGridViews that contain different type of data from 2 different datatables.
First DataGridView contains the names of persons and a selection-checkbox. This CheckBox desides whether the persons information will be trasported to Excel or not.
Second DataGridView contains the persons individual information.
Third DataGridView contains every single day for every person between the selected dates (10.10.2011 - 23.10.2011)...
So, I'm working with VB.
I want to select the persons I want from the first DataGridView by clicking the CheckBox next to their names...
When "TULOSTA"-button is pressed, the program would automaticly detect the selected persons and export their individual information (second DataGrid) along with their day information (third DataGrid) to excel.
I have managed to export all the info to excel, but am struggeling with getting only the selected persons infos.


Reply With Quote
