private void m_cmd_xuat_excel_Click(object sender, EventArgs e)
{
try
{
SaveFileDialog saveFileDialog1 = new SaveFileDialog();
saveFileDialog1.Filter = "xls files (*.xls)|*.xls|All files (*.*)|*.*";
saveFileDialog1.RestoreDirectory = true;
if(saveFileDialog1.ShowDialog() == DialogResult.OK)
{
m_grv_luong_thuong.ExportToXls(saveFileDialog1.FileName);
DevExpress.XtraEditors.XtraMessageBox.Show("Lưu báo cáo thành công");
}
}
catch(Exception v_e)
{
CSystemLog_301.ExceptionHandle(v_e);
}
}