Пример #1
0
    protected void RBModify_Click(object sender, EventArgs e)
    {
        AbcDAL MyDAL = new AbcDAL("");

        if (ClassID != null)
        {
            MyDAL.UpdateClassGradeByStudentID(RCBStudentName.SelectedValue.ToString().Trim(), RDDLAttendance.SelectedText, RDDLGrade.SelectedText, ClassID);
            Response.Redirect("Progress.aspx?MsgPos=5&MsgType=warning&MsgContent=Data successfully modified");
        }
        else
        {
            Response.Redirect("Progress.aspx?MsgPos=5&MsgType=warning&MsgContent=ERROR LAH WALAO");
        }
    }