I'm trying to display data from a database into a text box. How is this done? Thx for the help.
Dim cmdGetValue as new SQLCommand("SELECT myValue FROM myTable WHERE myValue = theValueIWant", yourSQLConnection) <BR><BR>yourSQLConnection.Open<BR><BR>myTextBox.Te xt = cmdGetValue.ExecuteScalar<BR><BR>yourSQLConnection .Close
Typically you would use:<BR><BR>TextBoxID.Text = <%# DataBinder.Eval(Container.DataItem, "FieldName")%>
Thx a lot, worked like a champ.<BR><BR>