or
datagridview1.DataSource = Nothing
datagridview1.DataSource = Log_Table
If Log_Table.Rows.Count > 0 Then
' Log_Rec = Log_Table.First
Dim Row As Telerik.WinControls.UI.GridViewRowInfo
For Each Row In datagridview1.Rows
If Row.Cells("Rec_ID").Value = RecID Then
Row.IsSelected = True
Else
Row.IsSelected
= False
End If
Next
For Each Row In datagridview1.Rows
If Row.IsSelected Then
End If
Next
End If
Imports
Telerik.WinControls.Data
Imports
Telerik.WinControls.UI.Export
Imports
Telerik.WinControls
Imports
System.IO
Private
Sub
ToolStripButton2_Click(sender
As
Object
, e
As
EventArgs)
Handles
ToolStripButton2.Click
Dim
exporter
As
ExportToCSV =
New
ExportToCSV(
Me
.RadGridView1)
exporter.FileExtension =
"csv"
Dim
camara
As
String
=
"C:\Users\FTL\Documents"
exporter.RunExport(camara)
End
Sub
this
.dgResults.DataSource =
null
;
this
.dgResults.DataSource =
this
.DataCache;
EventLog e =
new
EventLog(EDI.Definitions.EVENT_LOG, ConfigurationManager.AppSettings[
"EventLogServerName"
]);
this
.dgResults.DataSource = e.Entries;