Use a label to return table values
I have a text box now that works the way I want, the code is attached. But I
want to make it a label instead to return the same data. But I cant get it
to work. Any help would be great
Dim sql As String
sql = "SELECT * FROM Security_Tbl "
Connect()
rs.Open(sql, conn, 1, 3)
Do Until rs.EOF = True
lstSystems.Items.Add(rs.Fields("SecLevel").Value) THIS IS MY
TEXT BOX THAT I WANT TO MAKE A LABEL
rs.MoveNext()
Loop
disconnect()
--
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/Forums.aspx/asp-net-controls-building/200707/1
Date:Tue, 10 Jul 2007 15:43:06 GMT
Author:
|