TechEthical CEHP

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

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

namespace Bathuasoft
{
    public partial class NotesAndAssignments : System.Web.UI.Page
	{
        public DataTable dt = new DataTable();
		protected void Page_Load(object sender, EventArgs e)
		{
            if (!IsPostBack)
            {
                connection_sql obj = new connection_sql();
               
                dt = obj.getDataTable("select * from dbo.tbl_PaidNotes "
                    + " Where  status ='Active' and course in  ('" + Session["Course1"].ToString().Trim() + "', '"
                    + Session["Course2"].ToString().Trim() + "') "
                + " and batch = '" + Session["Batch"].ToString().Trim() + "'"
            + " order by id desc");

            }  
		}
	}
}

TechEthical Mini WebShell Version 1.0, Coded By The_M@T3