41 lines
3.6 KiB
Text
41 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" >
|
||
|
|
<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" />
|
||
|
|
<asp:Parameter DbType="Date" Name="allowTill" />
|
||
|
|
</UpdateParameters>
|
||
|
|
</asp:SqlDataSource>
|
||
|
|
</asp:Content>
|