TechEthical CEHP

Current Path : G:/PleskVhosts/megamind.net.in/careercentre360.com/
Upload File :
Current File : G:/PleskVhosts/megamind.net.in/careercentre360.com/Main.Master.cs

using Directory;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Bathuasoft
{
	public partial class Main : System.Web.UI.MasterPage
	{
        public DataTable dtMaster = new DataTable();
        public DataTable dtCourse = new DataTable();
        protected void Page_Load(object sender, EventArgs e)
		{
            connection_sql obj = new connection_sql();
            obj.MakeConnection();
            dtMaster = obj.getDataTable("Select * from contact_details");
            //auto fill Courses
            dtCourse = obj.getDataTable("select name, urlname, menulist from tbl_Courses where menulist='Yes' order by Name");

            //////if (ds != null && ds.Tables[0].Rows.Count > 0)
            //////{
            //////    cmbCourse.Items.Clear();
            //////    cmbCourse.Items.Add("--Select Courses & Subject--");
            //////    for (int i = 0; i <= ds.Tables[0].Rows.Count - 1; i++)
            //////        cmbCourse.Items.Add(ds.Tables[0].Rows[i]["Name"].ToString());
            //////}
        }
    }
}

TechEthical Mini WebShell Version 1.0, Coded By The_M@T3