Search results for query: *

  1. K

    Making Labels visible at runtime

    Ok, I solved this with some more tinkering around. It seems that dr("GroupName") was not getting anything because of a typo in the SQL (it was returning a recordset, just not exactly the one I wanted) and that caused the issue.
  2. K

    Making Labels visible at runtime

    I am trying to write an aspx page that can set some visibility of a control based on whether it has data in it or not. Here is a code snippet: Lbl = New Label Lbl = CType(Me.FindControl("lblGroup" & i), Label) If Not IsDBNull(dr("GroupName")) Then Lbl.Text = dr("GroupName") & ":"...
Back
Top