Good afternoon,
I'm sorry if the question is not formed well, but I didn't know how to describe the problem.
I'm retrieving data from SQL Server, and assign the values to text boxes in the Page_Load(..),
and in the button_click(..) I update the data and send them to the server to be updated,
but I always get the old values, even when I put some breakpoints to check if the problem from the code or in the Stored Procedure, I got the old values in the breakpoints values.
I'm not sure what did I do wrong
What I have tried:
protected void Page_Load(object sender, EventArgs e)
{
_select = new Select();
string _footerText = _select._GetFooterInfo();
Dictionary<string, string> _headerItems = _select._GetHeaderInfo();
txtAbout.Text = _headerItems["Header_About"];
}
<pre>rotected void btnFooter_Click(object sender, EventArgs e)
{
Dictionary<string, string> _headerAndFooterInfo = new Dictionary<string, string>();
_headerAndFooterInfo.Add("Header_About", txtAbout.Text);
.
.
.
_update = new Update();
_update._UpdateHeaderAndFooter(_headerAndFooterInfo);