ASP.NET单位绩效考核管理系统(10)

来源:xiaoniu168.com 作者:本站原创 添加时间:2012-03-03 点击数:27686

计算机毕业设计介绍:

5.1.10 考核明细查询模块
考核明细查询模块实现了对考核得分明细的查询。
查询代码如下:
            if (comboBox7.Text == "1" && comboBox8.Text != null && comboBox9.Text != null)
            {
                一序列得分表_BLL b = new 一序列得分表_BLL();
                dataGridView4.DataSource = b.SD("年月份被考大队名称='" + comboBox9.Text + comboBox8.Text + "'");
                if(dataGridView4.RowCount==0)
                    MessageBox.Show("无相关记录!");
            }
            else
            {if (comboBox7.Text == "2" || comboBox7.Text == "3" && comboBox8.Text != null && comboBox9.Text != null)
                {
                    二三序列得分表_BLL m = new 二三序列得分表_BLL();
                    dataGridView4.DataSource = m.SD("年月份被考科室名称='" + comboBox9.Text + comboBox8.Text + "'");
                    if (dataGridView4.RowCount == 0)
                        MessageBox.Show("无相关记录!");}
                else{
                    MessageBox.Show("请选择要查询的单位名称及月份");}
            }
5.1.11 系统通知模块
系统通知模块实现对系统通知的查看,添加,查询等功能。

系统通知表_BLL tz = new 系统通知表_BLL();
            dataGridView6.DataSource = tz.S(1);
            dataGridView6.Columns[0].Width=60;
            dataGridView6.Columns[1].Width = 40;
            dataGridView6.Rows[0].Cells[0].Value = "查看详情";
            dataGridView6.Rows[1].Cells[0].Value = "查看详情";
            dataGridView6.Rows[2].Cells[0].Value = "查看详情";
            dataGridView6.Rows[3].Cells[0].Value = "查看详情";
            dataGridView6.Rows[4].Cells[0].Value = "查看详情";
            richTextBox2.Hide();
            button32.Hide();
            button35.Hide();

〖资料来源:计算机毕业论文 www.xiaoniu168.com

第11页为计算机毕业论文部分......

【联系方式】

【本站信誉】

用心做计算机毕业设计论文网