Hi all,
I have a datagrid on which i select an item and click Edit to go to the edit page. On that page, when i click Save i set the current date as the value of a textbox and call the FormView's update function (the formview is bound to an LLBLGen datasource). This works fine for one page, but the date is not saved for the other page. Why would this be?
Here is the code;
protected void ButtonEdit_Click(object sender, EventArgs e)
{
//Set today as the updated date
** TextBox textBoxDateUpdated = (TextBox)FormView1.Row.FindControl("TextBoxEditDateUpdated");
textBoxDateUpdated.Text = DateTime.Now.ToString();
FormView1.UpdateItem(true);
Controller.Instance.ListAdvertisers();
}**
Thanks,
Lloyd Dube