���~�~��ViewTableAdapter.Instance.FillBy�t�C�s��(DatabaseSet.Instance.���~�~��View, �t�C�s��);
public int GetWorkingDays(int year, int month, DatabaseSet.����ViewDataTable table) { //int holidays = table.Rows.Count; DataRow[] rows = table.Select(null, null, DataViewRowState.CurrentRows); int holidays = rows.Length; int days = DateTime.DaysInMonth(year, month); return days - holidays; }