示例#1
0
    protected void RBEnrollStudent_Click(object sender, EventArgs e)
    {
        AbcDAL MyDAL = new AbcDAL("");

        MyDAL.AddStudentMaster(RTBStudentName.Text, RTBPhoneNo.Text, RTBAddress.Text, RDPDob.SelectedDate.Value, "Tommy");

        Response.Redirect("saDefault.aspx");
    }