private void button1_Click(object sender, EventArgs e) { if (saveFileDialog1.ShowDialog() == DialogResult.OK) { Telerik.WinControls.UI.Export.SpreadExport.SpreadExport spreadExporter = new Telerik.WinControls.UI.Export.SpreadExport.SpreadExport(radGridView1); spreadExporter.RunExport(saveFileDialog1.FileName); } }
private void button1_Click(object sender, EventArgs e) { if (saveFileDialog1.ShowDialog() == DialogResult.OK) { Telerik.WinControls.UI.Export.SpreadExport.SpreadExport spreadExporter = new Telerik.WinControls.UI.Export.SpreadExport.SpreadExport(radGridView1); spreadExporter.RunExport(saveFileDialog1.FileName); } }