enfin j'atteind la solution
<tr>
<td>
Date de d
ébut:
</td>
<td
style="width: 144px; height: 26px">
<asp:TextBox
ID="DateDeb"
runat="server"
Style="z-index: 109; left: 108px; position: absolute;top: 7px"Width="91px"></asp:TextBox></td><
tdstyle="width: 13px; height: 26px">
<ahref="javascript:NewCal('DateDeb','DDMMYYYY',220,30);">
<img
src="calendrier/calendar.GIF"
style=" border:0"
alt="Sélection de la date"
width="16"
height="16"
/></a></td>
</tr><
tr>
<tdstyle="width: 117px; height: 24px">Date de fin:</td>
<tdstyle="width: 144px; height: 24px"><asp:TextBoxID="DateFin"runat="server"Style="z-index: 109; left: 110px; position: absolute;top: 36px"Width="91px"OnTextChanged ="DateFin_TextChanged" > </asp:TextBox></td><
tdstyle="width: 13px; height: 24px">
<ahref="javascript:NewCal('DateFin','DDMMYYYY',400,127);">
<img
src="calendrier/calendar.GIF"
style=" border:0"
alt="Sélection de la date"
width="16"
height="16"
/></a> </td>
</tr>
protected
void calculer_Click(
object sender,
EventArgs e){
DateTime deb =
DateTime.Parse(DateDeb.Text);
DateTime fin =
DateTime.Parse(DateFin.Text);
TimeSpan Diff
fin - deb;nbjour1.Text
"" + (Diff.TotalDays);}
merci pour codes-sources