<%@ Page Language="VB" Inherits="System.Web.Mvc.ViewPage" %>

<%@ Register TagPrefix="uc" TagName="Menu" Src="~/Views/Shared/Menu.ascx" %>
<%@ Register TagPrefix="uc" TagName="ClientMenu" Src="~/Views/Course/CourseMenu.ascx" %>
<%@ Register TagPrefix="uc" TagName="CreateTab" Src="~/Views/Course/Create.ascx" %>
<%@ Register TagPrefix="uc" TagName="ItemSale" Src="~/Views/Item/ItemSale.ascx" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>Détails du cours</title>
</head>
<body>
    <div id="Div1" >
    <div><img src="http://69.64.36.75/course_cardiourbain/Content/images/logo_cu_lb.png" width="202" height="72" /><br />
      <br />
    </div>
    <div style=" width:70%">
    <%                 
        Dim dt As CoursE.coursedata.courseRow = Me.ViewData.Item("rowcourse")%>
    <table>
    <tr></tr>
    <tr>
    <td><label for="COURSE_CODE"
    >Cours :</label></td>
    <td><input name="COURSE_CODE" type="text"
    size="50" readonly="readonly" 
    <% response.write("value=""" & dt.item("COURSE_CODE") & """") %>/></td>
    </tr><tr>
    <td><label for="COURSE_DESCRIPTION"    
    >Description du cours :</label></td>
    <td><textarea name="COURSE_DESCRIPTION" cols="8" rows="6" readonly="readonly" style=" left:0; width:400px; "><% Response.Write(dt.Item("COURSE_DESCRIPTION"))%></textarea></td>
    </tr>
    </table>
    <% ViewData.Add("course_id",dt.Item("COURSE_ID"))%>
    <% If IsNothing(Session.Item("itemselected")) Then%>
<br />
<br />

        <uc:ItemSale id="ItemSale" 
        runat="server"/>

        <% End If%>
    </div>

    </div>
</body>
</html>
