Session Issue, I guess :|
Hi All,
I have below issue. This is most like a Sessions issue.
I have two asp.net web pages say page1 and page2. In page1 i select one record and store that on a session variable.
Ex:- Session["CustomerID"]=tbxCustomerID.Text.ToString();.
Now in page2 page_loading event, i retrieve data from sql db based on the Session variable "CustomerID" and assign fetched data to the textboxes. Now i'm going to update the data in page 2 and pass the new values to database. But even i enter the new values for textboxes, it's still sending the original data to database that i retrieved in page_load event. textboxes dont hold new data and it only keeps old data with them.
scenario
Page1 -> customerid (session variable)
Page2 -> original values retrieved base on custmerid ---->textbox1=cust_name[ex:-"charith"], textbox2=cust_address[ex:-"Malaysia"]
-> change address textbox2="India" Then click on save.....but still saving "Malaysia", not India . :(
Can anybody suggest a solution please ? Big help... :)
Thanks,
Max