Mr.Crazy

一切隨緣,戰勝自己。

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

            employeeByIsHoliday = _presenter.GetAllMessageIsHoliday("%", "%", _fromDateTimePicker.Text.ToString(), _endDateTimePicker.Text.ToString());

            string workAllDays = Convert.ToString(employeeByIsHoliday.Rows.Count);

            //employeeByIsHoliday.Count是上班天数
            DataTable dt = new DataTable();
            dt.Columns.Add("WorkAllDays", typeof(string));

            dataGridView1.DataSource = dt;

我这里是想把employeeByIsHoliday 的COUNT的数据绑定到新添加的列中.该怎么写???

posted on 2007-06-05 09:21  JonyJaJa  阅读(545)  评论(0编辑  收藏  举报