C textbox not updating dating services catholic personals web sites
It is not, however, updated when the Pull Message() method is called. In the code below, the Text Box tb Chat is updated when I call the Push Message() method.
For example in place of age“28”, updated with “30” and in place of salary “50000”, updated with “55000”, then click button “Update”. If so then what's happening is that you when click submit to change the data, you're form is getting the old data from the database, and then, your btnupdate_click method is then executed. protected void Page_Load(object sender2, Event Args e2) protected void btnupdate_Click(object sender, Event Args e) you would need to call Update instead of Fill on the Data Adapter. Before giving Is Postback in my page load how come my update button click is taking the same value what i have retreived in Page Load.Fill, fills the Data Set with information from the database. Both the events are diffrent than how update click is taking the same value as Page Load. Basically this:1)Form opens, text box has data in it from database (i.e."Test")2)I delete "Test" text from text box, and type in "Test2"3)I hit the submit button, and through a sqlcommand object update the data on the database from "Test" to "Test2"That is how I want it to work, but no matter what I try, all I get is the original data that got populated in the text box on load.