예제 #1
0
파일: Global.cs 프로젝트: amon0424/SWLHMS
 ���~�~��ViewTableAdapter.Instance.FillBy�t�C�s��(DatabaseSet.Instance.���~�~��View, �t�C�s��);
예제 #2
0
        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;
        }