C
Craig Andrews
Hello,
1) I populate a web control text box from a SQL Server DataReader on the
page load event.
2) Change the text via the web page and click "Save" button
3) Code behind button click on the "Save" updates the data record
4) The changed text in the text box reverts back to what was loaded
originally.
Example:
textbox1.text = dReader("FirstName").toString '= Joe
on web page change Joe to Fred and click save
strsql = "update TABLE set FirstName = '" & textbox1.text & "'"
but textbox1.text still equals JOE!
Thanks,
Craig
1) I populate a web control text box from a SQL Server DataReader on the
page load event.
2) Change the text via the web page and click "Save" button
3) Code behind button click on the "Save" updates the data record
4) The changed text in the text box reverts back to what was loaded
originally.
Example:
textbox1.text = dReader("FirstName").toString '= Joe
on web page change Joe to Fred and click save
strsql = "update TABLE set FirstName = '" & textbox1.text & "'"
but textbox1.text still equals JOE!
Thanks,
Craig