I want to fix 5 rows in data grid and connect to database.
how to do this..
And how to perform calculations in date time. i am preparing projects for payroll.
and i need to calculate attendance . means an employee is present how many days in a month.. so how to do this..
Data Grid and date time
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Mayur GujrathiRank #666 · 3.6K reputationPosted Apr 19, 2011, 9:06 PM EDT
select count(presentday) from emloyee where presentday between (your start date) and (end date) and employeeid=(employee id for which you are fetching data)