Exemple #1
0
        protected void btnUpdate_Click(object sender, EventArgs e)
        {
            TAFContent    newContent = PopulateContent();
            TAFContentDAL newDal     = new TAFContentDAL();

            newDal.SaveTAFContent(newContent);
        }
Exemple #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         populateImageDropDown();
         TAFContentDAL newDal     = new TAFContentDAL();
         TAFContent    newContent = newDal.GetTAFContent();
         AssignValues(newContent);
     }
 }