Sei sulla pagina 1di 2

<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.

Master"
AutoEventWireup="true" CodeBehind="Gestion des produits.aspx.cs"
Inherits="SOFTEC.Gestion_des_produits" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
.auto-style1 {
width: 100%;
}
.auto-style2 {
width: 230px;
}
.auto-style3 {
width: 230px;
height: 30px;
}
.auto-style4 {
height: 30px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
runat="server">
<table class="auto-style1">
<tr>
<td class="auto-style2">ID Produit:</td>
<td>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ControlToValidate="TextBox1" ErrorMessage=" * Obligatoire"
ForeColor="Red"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td class="auto-style2">R�f�rence:</td>
<td>
<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
ControlToValidate="TextBox2" ErrorMessage=" * Obligatoire"
ForeColor="Red"></asp:RequiredFieldValidator>
&nbsp;&nbsp;&nbsp;
<asp:RegularExpressionValidator ID="RegularExpressionValidator1"
runat="server" ControlToValidate="TextBox2" ErrorMessage="le champ doit �tre
entier" ValidationExpression="^[0-9]+$"></asp:RegularExpressionValidator>
</td>
</tr>
<tr>
<td class="auto-style2">libell�:</td>
<td>
<asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server"
ControlToValidate="TextBox3" ErrorMessage=" * Obligatoire"
ForeColor="Red"></asp:RequiredFieldValidator>
&nbsp;&nbsp;&nbsp;
</td>
</tr>
<tr>
<td class="auto-style3">Description:</td>
<td class="auto-style4">
<asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server"
ControlToValidate="TextBox4" ErrorMessage=" * Obligatoire"
ForeColor="Red"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td class="auto-style2">Prix Unitaire:</td>
<td>
<asp:TextBox ID="TextBox5" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server"
ControlToValidate="TextBox5" ErrorMessage=" * Obligatoire"
ForeColor="Red"></asp:RequiredFieldValidator>
&nbsp;&nbsp;&nbsp;
<asp:RegularExpressionValidator ID="RegularExpressionValidator2"
runat="server" ControlToValidate="TextBox5" ErrorMessage="le champ doit �tre r�el"
ValidationExpression="^[0-9]+.[0-9]+$"></asp:RegularExpressionValidator>
</td>
</tr>
<tr>
<td class="auto-style2">ID Artisan:</td>
<td>
<asp:Label ID="Label7" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td class="auto-style3"></td>
<td class="auto-style4">
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click"
Text="Ajouter" />
</td>
</tr>
<tr>
<td class="auto-style2">&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style2">&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="auto-style2">&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
</asp:Content>

Potrebbero piacerti anche