Esempio n. 1
0
        protected void btnSave_Click(object sender, EventArgs e)
        {
            SqlConnClass saveNow = new SqlConnClass();

            saveNow.AddNewProjects(txtProjectCode.Text.Trim(), txtProjectTitle.Text.Trim(), Convert.ToDateTime(txtDueDate.Text.Trim()));
            gvProjects.DataSource = saveNow.RetrieveAllProjectsInfo();
            gvProjects.DataBind();
            StadardStatus();
        }