Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

sql and win forms c#

$
0
0

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


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>