hello,
i have a table (roster) and a table with the staffs total hours
i want the HoursWorked column to equal that staff members total hours for the week based on the Hours-'Day' column of each day they worked added together
eg.
john worked Monday and did 5 hours
Johns name would be in the Monday Column and '5' would be in Hours-Monday Column
He also works wednesday
Name would be in Wednesday Column and '5' would be in Hours-Wednesday Column
how can i get all the hours-day values that john has worked and add them and output them to the HoursWorked Column in the other table?
in C#
please help