I have a datalist control that when some text box fields are filled out, a certain sql statement is executed and a query is populated.
The results appear when the person hits a search that can populate results. If there are no results to return i get no action. I want to be able to check if the datalist rendered results or not.
Protected Sub Search()
Me.uxSearchDataList.DataSourceID = Me.uxSearchSqlDataSource.ID
Dim sql as string = ""
Me.uxSearchSqlDataSource.SelectCommand = sql
Protected Sub uxSearchButton_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs)