Exemple #1
0
        private void button3_Click(object sender, EventArgs e)//提交结果
        {
            DataTable dataTable = new DataTable();

            dataTable = (DataTable)this.dataGridView1.DataSource;//获取datagridview的数据
            ad_ServicesBLL bLL = new ad_ServicesBLL();

            bLL.InsertToResult(dataTable);
            button2_Click(sender, e);
            bLL.Tuncast_TBrs("truncate table teavolheng2");
        }