salut
qui peut m'aider d'implementer cette page
remarque :cette interface permet de verifier l'indisponibilité de chaque enseignant dans une universite
test.aspx :
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Test.aspx.cs" Inherits="ESPOnline.AEmploi.Test" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Indisponibilite des enseig</title>
<link href="popupCalendar.css" rel="stylesheet" type="text/css" />
<%--<script language="JavaScript" src="popupCalendar.js" type="text/javascript"></script>
<script language="JavaScript" src="date.js" type="text/javascript"></script>
<style type="text/css">
#Table1
{
height: 235px;
width: 617px;
}
.style1
{
color: #CCCCCC;
}
</style>--%>
<style type="text/css">
.style1
{
color: #CCCCCC;
}
</style>
</head>
<body>
<form id="Form1" runat="server">
z<div style="background-color: #808080; text-align: center; font-family: 'Times New Roman', Times, serif;
font-size: x-large;">
<br />
<span class="style6"><span class="style1"><strong>Indisponibilité de l'Enseignant:</strong>
<asp:Label ID="lblnomprenom" runat="server" text=""> </asp:Label>
</span></span><span class="style5"><br />
</span>
<br />
<%--<table><tr><td><asp:TextBox ID="txtnom" runat="server"></asp:TextBox></td></tr></table>--%>
<table align="center"
style="height: 300px; width: 600px; background-color: #333333">
<tr class="HeaderDay">
<td><asp:label id="Label2" runat="server" CssClass="style1" Width="220px">Horaires\Jours</asp:label>
</td>
<td width="200px"><asp:label id="lblMonday" Width="100px" runat="server" CssClass="style1">Lundi</asp:label></td>
<td width="200px"><asp:label id="lblTuesday" runat="server" Width="100px" CssClass="style1">Mardi</asp:label></td>
<td width="200px"><asp:label id="lblWednesday" runat="server" Width="100px" CssClass="style1">Mercredi</asp:label></td>
<td width="200px"><asp:label id="lblThursday" runat="server" Width="100px" CssClass="style1">Jeudi</asp:label></td>
<td width="200px"><asp:label id="lblFriday" runat="server" Width="100px" CssClass="style1">Vendredi</asp:label></td>
<td width="200px"><asp:label id="lblSaturday" runat="server" Width="100px" CssClass="style1">Samedi</asp:label></td>
</tr>
<tr>
<td width="100px" class="style1">8h-10h</td>
<td><input type="checkbox" id="check" runat="server" /></td>
<td><input type="checkbox" id="Checkbox1" runat="server" /></td>
<td><input type="checkbox" id="Checkbox2" runat="server" /></td>
<td><input type="checkbox" id="Checkbox3" runat="server" /></td>
<td><input type="checkbox" id="Checkbox4" runat="server" /></td>
<td><input type="checkbox" id="Checkbox5" runat="server" /></td>
</tr>
<tr>
<td width="100px" class="style1">10h-12h</td>
<td><input type="checkbox" id="Checkbox6" runat="server" /></td>
<td><input type="checkbox" id="Checkbox7" runat="server" /></td>
<td><input type="checkbox" id="Checkbox8" runat="server" /></td>
<td><input type="checkbox" id="Checkbox9" runat="server" /></td>
<td><input type="checkbox" id="Checkbox10" runat="server" /></td>
<td><input type="checkbox" id="Checkbox11" runat="server" /></td>
</tr>
<tr>
<td width="100px" class="style1">12h-14h</td>
<td><input type="checkbox" id="Checkbox12" runat="server" /></td>
<td><input type="checkbox" id="Checkbox13" runat="server" /></td>
<td><input type="checkbox" id="Checkbox14" runat="server" /></td>
<td><input type="checkbox" id="Checkbox15" runat="server" /></td>
<td><input type="checkbox" id="Checkbox16" runat="server" /></td>
<td><input type="checkbox" id="Checkbox17" runat="server" /></td>
</tr>
<tr>
<td width="100px" class="style1">14h-16h</td>
<td><input type="checkbox" id="Checkbox18" runat="server" /></td>
<td><input type="checkbox" id="Checkbox19" runat="server" /></td>
<td><input type="checkbox" id="Checkbox20" runat="server" /></td>
<td><input type="checkbox" id="Checkbox21" runat="server" /></td>
<td><input type="checkbox" id="Checkbox22" runat="server" /></td>
<td><input type="checkbox" id="Checkbox23" runat="server" /></td>
</tr>
<tr>
<td width="100px" class="style1">16h-18h</td>
<td><input type="checkbox" id="Checkbox24" runat="server" /></td>
<td><input type="checkbox" id="Checkbox25" runat="server" /></td>
<td><input type="checkbox" id="Checkbox26" runat="server" /></td>
<td><input type="checkbox" id="Checkbox27" runat="server" /></td>
<td><input type="checkbox" id="Checkbox28" runat="server" /></td>
<td><input type="checkbox" id="Checkbox29" runat="server" /></td>
</tr>
</table>
<br />
<asp:Button ID="btndispo" runat="server" Text="Valider" Height="39px"
onclick="btndispo_Click" Width="90px"/>
<div id="ID_Month" style="DISPLAY: none"></div>
<div id="ID_Year" style="DISPLAY: none"></div>
<br />
<br />
</div>
</form>
</body>
</html>
-----------------------------------------------------------------------------------------------------------------
code behind:
test.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BLL;
using System.Data;
namespace ESPOnline.AEmploi
{
public partial class Test : System.Web.UI.Page
{
ServiceEDT emploi = new ServiceEDT();
protected void Page_Load(object sender, EventArgs e)
{
}
protected void btndispo_Click(object sender, EventArgs e)
{
//code ici
}
protected void CheckBox1_CheckedChanged(object sender, EventArgs e)
{
//code ici
}
}
}
mon probleme c'est que comment implementer tous ces checkbox
Afficher la suite