1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
| <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Page3.aspx.vb" Inherits="WebApplication1.Page3" %>
<!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 runat="server">
<title>Informations sur le Tri</title>
</head>
<body>
<form id="form1" runat="server">
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:PRODUCTIONConnectionString %>"
DeleteCommand="DELETE FROM [Tri] WHERE [Identifiant_T] = @Identifiant_T"
InsertCommand="INSERT INTO [Tri] ([Abords], [Objet_inutile], [Zone_de_travail], [Objet_a_proximite], [Production_precedente]) VALUES (@Abords, @Objet_inutile, @Zone_de_travail, @Objet_a_proximite, @Production_precedente)"
SelectCommand="SELECT [Abords], [Objet_inutile], [Zone_de_travail], [Objet_a_proximite], [Production_precedente], [Identifiant_T] FROM [Tri]"
UpdateCommand="UPDATE [Tri] SET [Abords] = @Abords, [Objet_inutile] = @Objet_inutile, [Zone_de_travail] = @Zone_de_travail, [Objet_a_proximite] = @Objet_a_proximite, [Production_precedente] = @Production_precedente WHERE [Identifiant_T] = @Identifiant_T">
<DeleteParameters>
<asp:Parameter Name="Identifiant_T" Type="Int32" />
</DeleteParameters>
<UpdateParameters>
<asp:Parameter Name="Abords" Type="Boolean" />
<asp:Parameter Name="Objet_inutile" Type="Boolean" />
<asp:Parameter Name="Zone_de_travail" Type="Boolean" />
<asp:Parameter Name="Objet_a_proximite" Type="Boolean" />
<asp:Parameter Name="Production_precedente" Type="Boolean" />
<asp:Parameter Name="Identifiant_T" Type="Int32" />
</UpdateParameters>
<InsertParameters>
<asp:Parameter Name="Abords" Type="Boolean" />
<asp:Parameter Name="Objet_inutile" Type="Boolean" />
<asp:Parameter Name="Zone_de_travail" Type="Boolean" />
<asp:Parameter Name="Objet_a_proximite" Type="Boolean" />
<asp:Parameter Name="Production_precedente" Type="Boolean" />
</InsertParameters>
</asp:SqlDataSource>
<h2>Tri-Débarras</h2>
<asp:RadioButtonList ID="RadioButtonList1" runat="server" AutoPostBack="True"
DataSourceID="SqlDataSource1" DataTextField="Abords"
DataValueField="Abords" Height="25px" TabIndex="5" Width="485px">
<asp:ListItem>+</asp:ListItem><asp:ListItem>-</asp:ListItem><asp:ListItem>++</asp:ListItem><asp:ListItem>--</asp:ListItem>
</asp:RadioButtonList>
</form>
</body>
</html> |
Partager