I don't think the DataReader would be the right choice for this kind of scenario, given the fact that you would not be able to close the connection at any time. In addition, you will not be able to implement a Previous button.
Use a disconnected datastore such as a Dataset and then use simple binding to bind your textboxes to the values. Use the Next and Previous buttons to iterate through the Dataset. On Feb 3, 9:52 am, vikas arora <[email protected]> wrote: > hi everyone > In my vb.net Web Application > I need to fill the textboxs with DataReader and use a Next Button to view > next > value... > i fill the textboxes on a click of a display button > If i use a While or For loop i get result of the last row... > How can i check the next record? > thanx
