Exemple #1
0
        protected void BindExamList()
        {
            DataTable dt = new DataTable();

            dt = objBL_Login.BL_BindExamList(objML_Logn);
            if (dt.Rows.Count > 0)
            {
                ddlExamList.DataSource     = dt;
                ddlExamList.DataValueField = "ExamID";
                ddlExamList.DataTextField  = "ExamName";
                ddlExamList.DataBind();
                ddlExamList.Items.Insert(0, "Select");
            }
        }