private void btnOut_Click(object sender, EventArgs e)
 {
     if (dsbb.Tables[0].Rows.Count > 0)
     {
         commUse.DataGridViewToExcel(dgvbb);
     }
 }
Exemplo n.º 2
0
 private void tsbtnOut_Click(object sender, EventArgs e)
 {
     //commUse.Excelout(ds);
     if (dgvOrderList.Rows.Count > 0)
     {
         commUse.DataGridViewToExcel(dgvOrderList);
     }
 }