Posted on: 3/20/2014 4:25:19 PM | Views : 379

Heres the code behind for my student registration page. 
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data.SqlClient; using System.Configuration; public partial class StudentRegistration : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if (Session["Student"] != null) { String username = Convert.ToString(Session["Student"]); UserSessionLabel.Text = username; } else { Response.Redirect("../Login.aspx"); } if (!IsPostBack) { SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["QSTARConnectionString"].ConnectionString); con.Open(); string cmdStr = "Select c ...

Go to the complete details ...