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
| <%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default4.aspx.cs" Inherits="Default4" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<form id="form1" runat="server">
<div>
<table id="TABLE2" align="center" width="80%">
<tr>
<td style="width: 118px">
<asp:Label ID="Label7" runat="server" Text="Type unité" AssociatedControlID="idUnite"></asp:Label></td>
<td>
<asp:DropDownList ID="idUnite" runat="server" DataSourceID="SqlDataSource2"
DataTextField="nom_unite" DataValueField="id_unite">
</asp:DropDownList><asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="Data Source=AZZOUZI\sqlexpress;Initial Catalog=patrimoine;Integrated Security=True"
ProviderName="System.Data.SqlClient" SelectCommand="SELECT * FROM [unite] ORDER BY [nom_unite]">
</asp:SqlDataSource>
</td>
</tr>
<tr>
<td style="width: 118px; height: 21px">
<asp:Label ID="Label8" runat="server" Text="Immeuble" AssociatedControlID="groupement"></asp:Label></td>
<td style="height: 21px">
<asp:DropDownList ID="groupement" runat="server" DataSourceID="SqlDataSource3"
DataTextField="designation_gr" DataValueField="id_groupement">
</asp:DropDownList><asp:SqlDataSource ID="SqlDataSource3" runat="server" ConnectionString="Data Source=AZZOUZI\sqlexpress;Initial Catalog=patrimoine;Integrated Security=True"
ProviderName="System.Data.SqlClient" SelectCommand="SELECT [id_groupement], [designation_gr] FROM [groupement] ORDER BY [designation_gr]">
</asp:SqlDataSource>
</td>
</tr>
<tr>
.........
</div>
</form>
</asp:Content> |
Partager