Problem with updating the contens of a text field in a form RRS feed

  • Question

  • i am able to load a datset with records from a sql database. I then loop through the data using a loop, this works fine. As part of the loop I would like to update the contents of a textBox.text property. The problem is that it will only update the text field when the loop is complete. How can I update the text content for each record in the loop?

    I hope this makes since.

    Tuesday, January 19, 2010 8:08 PM

All replies

  • You use a datareader,

    For example your datareader is called DataReader1

    Then you type

    Do While DataReader1.Read
    txtTextbox.Text &= ......... & vbCrlF

    Joren Uitzetter
    Monday, January 25, 2010 5:49 PM