eDosWeb/eDos/AllowD2.aspx
Luc Vandenbroucke 1c4dd15100 D2 zonder einde
2022-09-07 16:24:02 +02:00

39 lines
3.6 KiB
Text

<%@ Page Title="Allow D2" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="AllowD2.aspx.cs" Inherits="eDos2021.AllowD2" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<telerik:RadGrid runat="server" ID="rg1" AutoGenerateColumns="False" DataSourceID="dsIDPBW" AutoGenerateEditColumn="True" CellSpacing="-1" GridLines="Both" >
<GroupingSettings CollapseAllTooltip="Collapse all groups"></GroupingSettings>
<ExportSettings>
</ExportSettings>
<MasterTableView DataSourceID="dsIDPBW" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" DataKeyNames="PersID">
<RowIndicatorColumn ShowNoSortIcon="False"></RowIndicatorColumn>
<ExpandCollapseColumn ShowNoSortIcon="False"></ExpandCollapseColumn>
<Columns>
<telerik:GridBoundColumn DataField="PersID" DataType="System.Int32" HeaderText="PersID" ShowNoSortIcon="False" SortExpression="PersID" UniqueName="PersID" />
<telerik:GridBoundColumn DataField="name" HeaderText="name" ShowNoSortIcon="False" SortExpression="name" UniqueName="name" ReadOnly="true" />
<telerik:GridBoundColumn DataField="firstname" HeaderText="firstname" ShowNoSortIcon="False" SortExpression="firstname" UniqueName="firstname" ReadOnly="true" />
<telerik:GridBoundColumn DataField="persGroup" HeaderText="persGroup" ReadOnly="True" ShowNoSortIcon="False" SortExpression="persGroup" UniqueName="persGroup" />
<telerik:GridBoundColumn DataField="email" HeaderText="email" ShowNoSortIcon="False" SortExpression="email" UniqueName="email" ReadOnly="true" />
<telerik:GridBoundColumn DataField="ConCode" HeaderText="ConCode" ShowNoSortIcon="False" SortExpression="ConCode" UniqueName="ConCode" ReadOnly="true" />
<telerik:GridBoundColumn DataField="examination" DataType="System.DateTime" HeaderText="examination" ReadOnly="True" ShowNoSortIcon="False" SortExpression="examination" UniqueName="examination" DataFormatString="{0:yyyy-MM-dd}" />
<telerik:GridBoundColumn DataField="EndWork" DataType="System.DateTime" HeaderText="EndWork" ReadOnly="True" ShowNoSortIcon="False" SortExpression="EndWork" UniqueName="EndWork" DataFormatString="{0:yyyy-MM-dd}" />
<telerik:GridDateTimeColumn DataField="allowFrom" DataType="System.DateTime" HeaderText="allowFrom" ShowNoSortIcon="False" SortExpression="allowFrom" UniqueName="allowFrom" DataFormatString="{0:yyyy-MM-dd}" EditDataFormatString="yyyy-MM-dd" />
<%--<telerik:GridDateTimeColumn DataField="allowTill" DataType="System.DateTime" HeaderText="allowTill" ShowNoSortIcon="False" SortExpression="allowTill" UniqueName="allowTill" DataFormatString="{0:yyyy-MM-dd}" EditDataFormatString="yyyy-MM-dd" />--%>
</Columns>
<EditFormSettings>
<EditColumn ShowNoSortIcon="False"></EditColumn>
</EditFormSettings>
</MasterTableView>
</telerik:RadGrid>
<asp:SqlDataSource ID="dsIDPBW" runat="server" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>" InsertCommand="medicHPHOverrideUpdate" InsertCommandType="StoredProcedure" SelectCommand="medicHPHOverrideSelect" SelectCommandType="StoredProcedure" UpdateCommand="medicHPHOverrideUpdate" UpdateCommandType="StoredProcedure">
<InsertParameters>
<asp:Parameter Name="PersID" Type="Int32" />
<asp:Parameter DbType="Date" Name="allowFrom" />
<asp:Parameter DbType="Date" Name="allowTill" />
</InsertParameters>
<UpdateParameters>
<asp:Parameter Name="PersID" Type="Int32" />
<asp:Parameter DbType="Date" Name="allowFrom" />
</UpdateParameters>
</asp:SqlDataSource>
</asp:Content>