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.IO
Imports
System.Data.OleDb
Imports
Telerik.WinControls.UI.Localization
Imports
System.Runtime.InteropServices
Imports
Telerik.WinControls.UI
Imports
Telerik.WinControls
Imports
Telerik.WinControls.Data
Imports
Telerik.WinControls.UI.Export
Imports
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