javascript undefined error in my app
        
am i missing any reference in my web config or?
I have a custom gridview using a repeater and jquery.
have a page called Tested.aspx.
i am getting an undefined error,
this is the code behind:



    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using System.Configuration;
    using System.Data;
    using System.Data.SqlClient;
    using System.Web.Services;

    namespace kool
    {
    public partial class Tested : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

            LoadEmp();

        }


        private void LoadEmp()
        {
            rpEmployee.DataSource = GetEmployee("Select ID,ExaminationName,ExaminationDescription from ExamMaster");
            rpEmployee.DataBind();
        }

        public DataTable GetEmployee(string query)
        {
            SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["myskoolConnectionString"].ConnectionString);
            SqlDataAdapter ada = new SqlDataAdapter(query, con);
            DataTable dtEmp = new DataTable();
            ada.Fill(dtEmp);
            return dtEmp;
        }

        [WebMethod]
        public static string UpdateEmployee(string empid, string name, string dept)
        {
            //string UpdateQuery = "UPDATE [Employee] SET [EmpName] = '" + name + "', [Department] = '" + dept + "', [Age] = '" + age + "', [Address] = '" + address + "' WHERE [EmpID] = '" + empid + "'";
            string UpdateQuery = "UPDATE [ExamMaster] SET [ExaminationName] = @name, [ExaminationDescription] =  @dept  WHERE [ID] = @empid";
            SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["myskoolConnectionString"].ConnectionString);
            con.Open();
            SqlCommand com = new SqlCommand(UpdateQuery, con);

            com.Parameters.Add("@name", SqlDbType.VarChar, 50).Value = name;
            com.Parameters.Add("@dept", SqlDbType.VarChar, 50).Value = dept;
            com.Parameters.Add("@empid", SqlDbType.Int, 4).Value = empid;

            int n = com.ExecuteNonQuery();
            con.Close();

            return n.ToString();
        }
    }
}



    

am getting an undefined error.
any help?
javascript undefined error in my app
===

        
am i missing any reference in my web config or?
I have a custom gridview using a repeater and jquery.
have a page called Tested.aspx.
i am getting an undefined error,
this is the code behind:



    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using System.Configuration;
    using System.Data;
    using System.Data.SqlClient;
    using System.Web.Services;

    namespace kool
    {
    public partial class Tested : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

            LoadEmp();

        }


        private void LoadEmp()
        {
            rpEmployee.DataSource = GetEmployee("Select ID,ExaminationName,ExaminationDescription from ExamMaster");
            rpEmployee.DataBind();
        }

        public DataTable GetEmployee(string query)
        {
            SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["myskoolConnectionString"].ConnectionString);
            SqlDataAdapter ada = new SqlDataAdapter(query, con);
            DataTable dtEmp = new DataTable();
            ada.Fill(dtEmp);
            return dtEmp;
        }

        [WebMethod]
        public static string UpdateEmployee(string empid, string name, string dept)
        {
            //string UpdateQuery = "UPDATE [Employee] SET [EmpName] = '" + name + "', [Department] = '" + dept + "', [Age] = '" + age + "', [Address] = '" + address + "' WHERE [EmpID] = '" + empid + "'";
            string UpdateQuery = "UPDATE [ExamMaster] SET [ExaminationName] = @name, [ExaminationDescription] =  @dept  WHERE [ID] = @empid";
            SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["myskoolConnectionString"].ConnectionString);
            con.Open();
            SqlCommand com = new SqlCommand(UpdateQuery, con);

            com.Parameters.Add("@name", SqlDbType.VarChar, 50).Value = name;
            com.Parameters.Add("@dept", SqlDbType.VarChar, 50).Value = dept;
            com.Parameters.Add("@empid", SqlDbType.Int, 4).Value = empid;

            int n = com.ExecuteNonQuery();
            con.Close();

            return n.ToString();
        }
    }
}



    

am getting an undefined error.
any help?