Thanks.
Populating a form with data from a SQL server, then updating
Hello, I wrote a form which so far just consists of text fields and checkboxes. The data from previous entries is loaded when the page loads and then I set the values of each field (for example, contactname.Text = dbread["contactname"].ToString();). The problem is that when I populate the fields on page load, the stored procedure I'm using to update the values uses this information rather than the information actually current in the TextBoxes. I want users to be able to change and update the information, but also have it preloaded with the last data they submitted. Any advice would be greatly appreciated.
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Krishna GaradRank #191 · 12.8K reputationPosted Dec 22, 2010, 6:15 PM EST
Mike Chambers3 reputationPosted Dec 23, 2010, 8:02 AM EST