Can someone tell me what operator I use to check if the datasource has any
content?
Thanks
Exception Details: System.InvalidCastException: Operator is not valid for
type 'SqlDataReader' and string "".
Source Error:
Line 62: Dim myReader As SqlDataReader = cmd.ExecuteReader()
Line 63: DGPages.DataSource = myReader
Line 64: If DGPages.DataSource <> "" Then
Line 65: DGPages.DataBind()
Line 66: Else