BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
Public Class SyncGridFilterBar Inherits GridFilterBar Private _grid As GridDataBoundGrid Protected Overrides Function GetDataTable() As DataTable If _grid.DataSource Is Nothing Then Return Nothing End If If _grid.DataSource.GetType Is GetType(DataTable) Then Return CType(_grid.DataSource, DataTable) ElseIf _grid.DataSource.GetType Is GetType(DataView) Then Return CType(_grid.DataSource, DataView).Table End If End Function Public Overloads Overrides Sub WireGrid(ByVal grid As GridDataBoundGrid, ByVal style As GridStyleInfo) _grid = grid MyBase.WireGrid(grid, style) End Sub End Class