I have a gridview that that show a web address text, i'm catching the value of the focus row-cell to navigate to those website, I get in error when the cell is null
How can I add an (if is null into this code) so I dont get an exception dbnull error....Conversion from type 'DBNull' to type 'String' is not valid.
Private
Sub GridView1_FocusedRowChanged(ByVal sender As System.Object, ByVal e As DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventArgs) Handles GridView1.FocusedRowChanged
Dim CellValue As
String
CellValue = GridView1.GetFocusedRowCellValue(
"HotelWebSite")
WebBrowser1.Navigate(CellValue)
End
Sub