Hi,
I have a problem with the last release of WinForms.
The line :
Dim csvexporter As ExportToCSV = New ExportToCSV(Me.RadGridView1)
display an error ExportToCSV is not defined.My code came from your help so I don't understand.
Imports System.IOImports System.Data.OleDbImports Telerik.WinControls.UI.LocalizationImports System.Runtime.InteropServicesImports Telerik.WinControls.UIImports Telerik.WinControlsImports Telerik.WinControls.DataImports Telerik.WinControls.UI.ExportImports System.Net.NetworkInformation Private Sub RadButton2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadButton2.Click Dim csvexporter As ExportToCSV = New ExportToCSV(Me.RadGridView1) SaveFileDialog1.RestoreDirectory = True If SaveFileDialog1.ShowDialog() = System.Windows.Forms.DialogResult.OK Then csvExporter.RunExport(SaveFileDialog1.FileName) End If End Sub
Can you help me please ?
Thanks
Anthony