G
Guest
Hi,
I'm looking for a way to do something, and i need help on finding the best
way to do it.
I've one Form that contains a dataGrid, and one of the buttons in that form,
opens another Form which contains dataGrid that shows list of Headers (each
header represnt a Invoice which was made in the first form in the past), the
first column is a checkbox column, and what i need to do is, when the user
will press the ok button on the second form, i want to take all the the lines
of that header from the dataBase and write them into the dataGrid of the
first form. the problem i'm having is that i don't know how many checkboxes
will be checked, so i can just create variables, so what can i do to get the
lines of each header from the database and insert them to the dataGrid of the
first form?
I hope i explained my problem just enough to get some help...
Thanks,
Gidi.
I'm looking for a way to do something, and i need help on finding the best
way to do it.
I've one Form that contains a dataGrid, and one of the buttons in that form,
opens another Form which contains dataGrid that shows list of Headers (each
header represnt a Invoice which was made in the first form in the past), the
first column is a checkbox column, and what i need to do is, when the user
will press the ok button on the second form, i want to take all the the lines
of that header from the dataBase and write them into the dataGrid of the
first form. the problem i'm having is that i don't know how many checkboxes
will be checked, so i can just create variables, so what can i do to get the
lines of each header from the database and insert them to the dataGrid of the
first form?
I hope i explained my problem just enough to get some help...
Thanks,
Gidi.