<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Courses.aspx.cs" Inherits="Courses" %> <%@ Import Namespace="System.Data" %> LCC COMPUTER EDUCATION
Back to site
<%--

CAREER & SHORT TERM

--%> <% var courseId = Convert.ToInt32(Request.QueryString["id"]); switch (courseId) { case 1: Label1.Text = "CAREER & SHORT TERM"; break; case 2: Label1.Text = "WEB & GRAPHICS"; break; case 3: Label1.Text = "BASIC & ACCOUNTING"; break; case 4: Label1.Text = "PROGRAMMING"; break; default: break; } %>

<% if (Request.QueryString["id"] != null) { DataSet ds = CRUD.selDSet("list_course_sub", Convert.ToInt32(Request.QueryString["id"])); if (ds != null) { if (ds.Tables.Count > 0) { for (int i = 0; i < ds.Tables[0].Rows.Count; i++) { Response.Write(""); %> <% } } } } %>