View Single Post
Old July 4th, 2003, 01:37 AM
RockNRoll RockNRoll is offline
Registered User
Join Date: Jul 2003
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to display dataset using textbox

I am making a page to do the database modification, however, i used some autopostback properties in the page, once the autopostback is executed, the data on the textbox are set to initial values, I have an idea, I want to do the SQL query in the Page_Init(), but How could I set the initial values in the textbox control. I've wrote the code to creat the dataset, but I just don't know how to display it in the textbox, I know that I can't use the datagrid, cause I have to use the textbox to finish the database modification.

Any ideas will be appreciated.

Thanks in advance.