reading table data into textbox

Discussion in 'ASP.NET / ASP.NET Core' started by valaneke, Jul 6, 2005.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. does anyone know how this is really done, cause i cant seem to hold the values for an update
     
  2. Val,

    Here's the code I used in my World Recipe.

    Check out World Recipe, you'll get some ideas by looking at the code


    'Check which action were selected, edit a recipe or delete a recipe
    strSQL = 'SELECT * FROM Recipes WHERE id=' & Request.QueryString('id')

    DataBase_Connect(strSQL)
    objDataReader.Read()

    'This will be the value to be populated into the textboxes
    Name.text = objDataReader('Name')
    Author.text = objDataReader('Author')
    Hits.text = objDataReader('Hits')
    Ingredients.text = objDataReader('Ingredients')
    Instructions.text = objDataReader('Instructions')

    DataBase_Disconnect()
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page