TechEthical CEHP

Current Path : G:/PleskVhosts/megamind.net.in/careercentre360.com/Student/
Upload File :
Current File : G:/PleskVhosts/megamind.net.in/careercentre360.com/Student/OnlineLectures.aspx.cs

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

namespace Bathuasoft
{
    public partial class PaidLectures : System.Web.UI.Page
	{
		public DataSet ds = new DataSet();
        protected void Page_Load(object sender, EventArgs e)
        {
            connection_sql obj = new connection_sql();
            obj.MakeConnection();
            ds = obj.getDataSet("Select top 1000 * from tbl_PaidLectures "
                + " Where status ='Active' and course in  ('" + Session["Course1"].ToString().Trim() + "', '"
                + Session["Course2"].ToString().Trim() + "') "
                + " and batch = '" + Session["Batch"].ToString().Trim() + "'"
            + " order by id desc");
            obj.CloseConnection();
        }
	}
}

TechEthical Mini WebShell Version 1.0, Coded By The_M@T3