Code:
if (hasTime == true)
{
string hourQuery = string.Format("SELECT contact.contactID, contact.firstName, contact.lastName, hours.hoursWorked" +
" FROM contact INNER JOIN hours ON contact.contactID=hours.contactID WHERE hours.fiscalYearID ={0}", selectedYearID.ToString());
Leave a comment: