386 lines
26 KiB
Text
386 lines
26 KiB
Text
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="Worker.aspx.cs" Inherits="Rems2018.Worker" %>
|
|
|
|
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
|
|
|
<telerik:RadSearchBox runat="server" ID="rs" DataTextField="DisplayName" DataValueField="PersID" DataSourceID="dsSearch" OnDataSourceSelect="rs_DataSourceSelect" OnSearch="rs_Search">
|
|
|
|
</telerik:RadSearchBox>
|
|
<asp:HiddenField runat="server" ID="hPersID" />
|
|
<%--<telerik:RadComboBox ID="cmbPerson" runat="server" DataSourceID="sqlDSPerson" DataTextField="displayName" DataValueField="PersID" MarkFirstMatch="True" OnSelectedIndexChanged="cmbPerson_SelectedIndexChanged" OnDataBound="cmbPerson_DataBound" AutoPostBack="true" Width="208px"/>--%>
|
|
<br />
|
|
<telerik:RadDataForm ID="RadDataForm1" runat="server" DataSourceID="sqlDsView" CssClass="rdfInlineBlock" DataKeyNames="PersID" RenderMode="Lightweight" >
|
|
<LayoutTemplate>
|
|
<div class="RadDataForm RadDataForm_<%# Container.Skin %> rdfInlineBlock">
|
|
<div id="itemPlaceholder" runat="server">
|
|
</div>
|
|
</div>
|
|
</LayoutTemplate>
|
|
<ItemTemplate>
|
|
<fieldset class="rdfFieldset rdfBorders">
|
|
<legend class="rdfLegend">General Informations</legend>
|
|
<table style="width: 500px;">
|
|
<tr>
|
|
<td>
|
|
<asp:Label ID="Label3" runat="server" CssClass="rdfLabel rdfBlock" Text="PersID"></asp:Label>
|
|
</td>
|
|
<td>
|
|
<asp:Label ID="Label4" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("PersID") %>' />
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
<asp:Label ID="Label7" runat="server" CssClass="rdfLabel rdfBlock" Text="LastName"></asp:Label>
|
|
</td>
|
|
<td>
|
|
<asp:Label ID="Label8" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("LastName") %>' />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<asp:Label ID="Label9" runat="server" CssClass="rdfLabel rdfBlock" Text="FirstName"></asp:Label>
|
|
</td>
|
|
<td>
|
|
<asp:Label ID="Label10" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("FirstName") %>' />
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
<asp:Label ID="Label14" runat="server" CssClass="rdfLabel rdfBlock" Text="Worker Type (W: Employee, E: Extern, S: Stage, J: Jobstudent, R: RvB, A : PhD en T:Interim) "></asp:Label>
|
|
</td>
|
|
<td>
|
|
<asp:Label ID="Label15" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("Type") %>' />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<asp:Label ID="Label16" runat="server" CssClass="rdfLabel rdfBlock" Text="Badge Card Serial Number"></asp:Label>
|
|
</td>
|
|
<td>
|
|
<asp:Label ID="Label17" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("CSN") %>' />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<asp:Label ID="Label5" runat="server" CssClass="rdfLabel rdfBlock" Text="Code at the Medical Service"></asp:Label>
|
|
</td>
|
|
<td>
|
|
<asp:Label ID="Label6" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("conCode") %>' />
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="color: darkblue; font-weight: bold; text-decoration: underline; font-size: 20px">
|
|
<asp:Label ID="Label22" runat="server" Text="Access allowed to controlled area ?"></asp:Label>
|
|
</td>
|
|
<td style="color: darkblue; font-weight: bold">
|
|
<asp:CheckBox ID="AccessAllowCheckBox" runat="server" Enabled="false" Checked='<%# Eval("AccessAllow") %>' />
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>1. Check in the folder 'Limit' below that the Margin is high enough for the 'Min. margin for the task'. If that is not the case you can add some Limits. Go to Alarm/Add limit.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>2. Check in the 'General Informations' that the Code at the medical Service is not D1. If that is the case that person is not allow to access the Controlled area for medical reason.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>3. Check if a Visit needs to be cleared (alarm on the EPD during the visit). Last ID visit to clear:<br />
|
|
(To clear it go to Worker/Clear Visit Alarm and select the person. Clear all the alarm for that person)
|
|
</td>
|
|
<td>
|
|
<asp:Label runat="server" Text='<%# Eval("StationVisitIDLocked") %>' />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>4. Check that the Quiz, WBC, Medical.. are ok ? If that is not the case you can give access for today via the button bellow.
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div class="rdfCommandButtons">
|
|
<hr class="rdfHr" />
|
|
<telerik:RadButton RenderMode="Lightweight" ID="EditButton" runat="server" ButtonType="SkinnedButton" CausesValidation="False" CommandName="Edit" Text=" Give Access for today even if Quiz, medical or WBC are not in orde" ToolTip="Edit" />
|
|
</div>
|
|
|
|
</fieldset>
|
|
</ItemTemplate>
|
|
<EditItemTemplate>
|
|
<fieldset class="rdfFieldset rdfBorders">
|
|
<legend class="rdfLegend">Edit</legend>
|
|
<table style="width: 500px">
|
|
<tr>
|
|
<td style="color: darkblue; font-weight: bold">
|
|
<asp:Label ID="Label13" runat="server" AssociatedControlID="AccessAllowCheckBox" Text="Give Access for today even if Quiz, medical or WBC are not in orde :"></asp:Label>
|
|
</td>
|
|
<td style="color: darkblue; font-weight: bold">
|
|
<telerik:RadCheckBox ID="AccessAllowCheckBox" runat="server" Checked='<%# Bind("AccessAllow") %>' Enabled="true" />
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<div class="rdfCommandButtons">
|
|
<hr class="rdfHr" />
|
|
<telerik:RadButton RenderMode="Lightweight" ID="UpdateButton" runat="server" ButtonType="SkinnedButton" CommandName="Update" Text="Update" ToolTip="Update" />
|
|
<telerik:RadButton RenderMode="Lightweight" ID="CancelButton" runat="server" ButtonType="SkinnedButton" CausesValidation="False" CommandName="Cancel" Text="Cancel" ToolTip="Cancel" />
|
|
</div>
|
|
</fieldset>
|
|
</EditItemTemplate>
|
|
<EmptyDataTemplate>
|
|
<div class="RadDataForm RadDataForm_<%# Container.Skin %>">
|
|
<div class="rdfEmpty">
|
|
There are no items to be displayed.
|
|
</div>
|
|
</div>
|
|
</EmptyDataTemplate>
|
|
</telerik:RadDataForm>
|
|
|
|
|
|
<telerik:RadTabStrip runat="server" ID="tabs" MultiPageID="mp" SelectedIndex="1">
|
|
<Tabs>
|
|
<telerik:RadTab Text="Limits" PageViewID="pLimits" TabIndex="0" BackColor="#FFC080" />
|
|
<telerik:RadTab Text="Visits" PageViewID="pVisits" Selected="True" />
|
|
</Tabs>
|
|
</telerik:RadTabStrip>
|
|
|
|
<telerik:RadMultiPage runat="server" ID="mp" SelectedIndex="1">
|
|
<telerik:RadPageView runat="server" ID="pLimits" TabIndex="0">
|
|
<telerik:RadDataForm ID="RadDataForm2" runat="server" DataSourceID="getPersonLimit" CssClass="rdfInlineBlock" RenderMode="Lightweight">
|
|
<LayoutTemplate>
|
|
<div class="RadDataForm RadDataForm_<%# Container.Skin %> rdfInlineBlock">
|
|
<div id="itemPlaceholder" runat="server">
|
|
</div>
|
|
</div>
|
|
</LayoutTemplate>
|
|
<ItemTemplate>
|
|
<tr style="font-weight: bold">
|
|
<asp:Label ID="Label28" runat="server" CssClass="rdfLabel rdfBlock" Text="Doses at SCK:"></asp:Label>
|
|
</tr>
|
|
<fieldset class="rdfFieldset rdfBorders">
|
|
<table style="width: 100%;">
|
|
<tr>
|
|
<td style="font-weight: bold">
|
|
<asp:Label ID="Label1" runat="server" CssClass="rdfLabel rdfBlock" Text=" "></asp:Label>
|
|
</td>
|
|
<td style="font-weight: bold">
|
|
<asp:Label ID="Label11" runat="server" CssClass="rdfLabel rdfBlock" Text="Year"></asp:Label>
|
|
</td>
|
|
<td style="font-weight: bold">
|
|
<asp:Label ID="Label12" runat="server" CssClass="rdfLabel rdfBlock" Text="3 Months"></asp:Label>
|
|
</td>
|
|
<td style="font-weight: bold">
|
|
<asp:Label ID="Label14" runat="server" CssClass="rdfLabel rdfBlock" Text="1 Month"></asp:Label>
|
|
</tr>
|
|
<tr>
|
|
<td style="font-weight: bold;">
|
|
<asp:Label ID="Label3" runat="server" CssClass="rdfLabel rdfBlock" Text="HP10G Dose (µSv)"></asp:Label>
|
|
</td>
|
|
<td>
|
|
<asp:Label ID="SUMHp10Dose_Y" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("SUMHp10Dose_Y_2deci","{0:0.00}") %>' />
|
|
</td>
|
|
<td>
|
|
<asp:Label ID="SUMHp10Dose_Q" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("SUMHp10Dose_Q_2deci","{0:0.00}") %>' />
|
|
</td>
|
|
<td>
|
|
<asp:Label ID="SUMHp10Dose_M" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("SUMHp10Dose_M_2deci","{0:0.00}") %>' />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="font-weight: bold; column-width: 40em;">
|
|
<asp:Label ID="Label2" runat="server" CssClass="rdfLabel rdfBlock" Text="HP10N Dose (µSv)"></asp:Label>
|
|
</td>
|
|
<td>
|
|
<asp:Label ID="SUMHpNDose_Y" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("[SUMHpNDose_Y_2deci]","{0:0.00}") %>' />
|
|
</td>
|
|
<td>
|
|
<asp:Label ID="SUMHpNDose_Q" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("SUMHpNDose_Q_2deci","{0:0.00}") %>' />
|
|
</td>
|
|
<td>
|
|
<asp:Label ID="SUMHpNDose_M" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("SUMHpNDose_M_2deci","{0:0.00}") %>' />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="color: red; font-weight: bold; column-width: 20ch">
|
|
<asp:Label ID="Label5" runat="server" CssClass="rdfLabel rdfBlock" Text="Limits (HP10G+HP10N) (µSv)"></asp:Label>
|
|
</td>
|
|
<td style="color: red">
|
|
<asp:Label ID="YearToDateLimit" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("YearToDateLimit") %>' />
|
|
</td>
|
|
<td style="color: red">
|
|
<asp:Label ID="QuarterLimit" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("QuarterLimit") %>' />
|
|
</td>
|
|
<td style="color: red">
|
|
<asp:Label ID="MonthlyLimit" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("MonthlyLimit") %>' />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="color: red; font-weight: bold; column-width: 20ch">
|
|
<asp:Label ID="Label24" runat="server" CssClass="rdfLabel rdfBlock" Text="Added Limits (µSv)"></asp:Label>
|
|
</td>
|
|
<td style="color: red">
|
|
<asp:Label ID="Label25" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("MaxAddLimY") %>' />
|
|
</td>
|
|
<td style="color: red">
|
|
<asp:Label ID="Label26" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("MaxAddLimQ") %>' />
|
|
</td>
|
|
<td style="color: red">
|
|
<asp:Label ID="Label27" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("MaxAddLimM") %>' />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="font-weight: bold; color: blue">
|
|
<asp:Label ID="label16" runat="server" CssClass="rdfLabel rdfBlock" Text="Margin (Limit-(HP10G Dose + HP10N Dose)) (µSv)"></asp:Label>
|
|
</td>
|
|
<td style="color: blue">
|
|
<asp:Label ID="MarginHP10_Y" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("MarginHP10_Y_2deci","{0:0.00}") %>' />
|
|
</td>
|
|
<td style="color: blue">
|
|
<asp:Label ID="MarginHP10_Q" runat="server" CssClass="rdfLabel rdfBlock" Text='<%# Eval("MarginHP10_Q_2deci","{0:0.00}") %>' />
|
|
</td>
|
|
<td style="color: blue">
|
|
<asp:Label ID="MarginHP10_M" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("MarginHP10_M_2deci","{0:0.00}") %>' />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="font-weight: bold; column-width: 20em;">
|
|
<asp:Label ID="Label8" runat="server" CssClass="rdfLabel rdfBlock" Text="HP07 (µSv)"></asp:Label>
|
|
</td>
|
|
<td>
|
|
<asp:Label ID="SUMHp07Dose_Y" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("SUMHp07Dose_Y_2deci","{0:0.00}") %>' />
|
|
</td>
|
|
<td>
|
|
<asp:Label ID="SUMHp07Dose_Q" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("SUMHp07Dose_Q_2deci","{0:0.00}") %>' />
|
|
</td>
|
|
<td>
|
|
<asp:Label ID="SUMHp07Dose_M" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("SUMHp07Dose_M_2deci","{0:0.00}") %>' />
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</fieldset>
|
|
<tr style="font-weight: bold">
|
|
<asp:Label ID="Label29" runat="server" CssClass="rdfLabel rdfBlock" Text="Dose via Doc D:"></asp:Label>
|
|
</tr>
|
|
<table style="width: 100%;">
|
|
<tr>
|
|
<td>
|
|
<asp:Label ID="Label30" runat="server" CssClass="rdfLabel rdfBlock" Text="Dose (µSv):"></asp:Label>
|
|
</td>
|
|
<td>
|
|
<asp:Label ID="Label31" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("Dose_52W_microSv") %>' />
|
|
</td>
|
|
<td>
|
|
<asp:Label ID="Label32" runat="server" CssClass="rdfLabel rdfBlock" Text="op:"></asp:Label>
|
|
</td>
|
|
<td>
|
|
<asp:Label ID="Label33" runat="server" CssClass="rdfFieldValue" Text='<%# Eval("LastDate", "{0:yyyy-MM-dd}") %>' />
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</ItemTemplate>
|
|
|
|
</telerik:RadDataForm>
|
|
</telerik:RadPageView>
|
|
<telerik:RadPageView runat="server" ID="pVisits" TabIndex="1">
|
|
<telerik:RadGrid runat="server" ID="gridVisits" DataSourceID="sqlDSVisitPersId" CellSpacing="-1" GridLines="Both" AllowFilteringByColumn="True" AutoGenerateColumns="False" AllowSorting="True" AutoGenerateHierarchy="True" EnableHeaderContextAggregatesMenu="True" EnableHeaderContextFilterMenu="True" EnableHeaderContextMenu="True" >
|
|
<GroupingSettings CollapseAllTooltip="Collapse all groups"></GroupingSettings>
|
|
<ExportSettings>
|
|
<Pdf PageWidth="">
|
|
</Pdf>
|
|
</ExportSettings>
|
|
|
|
<MasterTableView DataSourceID="sqlDSVisitPersId" DataKeyNames="ID_Visit" CommandItemDisplay="Top" EnableHeaderContextAggregatesMenu="True">
|
|
<CommandItemSettings ShowAddNewRecordButton="False" ShowExportToExcelButton="True" />
|
|
<Columns>
|
|
<telerik:GridBoundColumn DataField="ID_Visit" DataType="System.Int32" HeaderText="ID_Visit" ReadOnly="True" SortExpression="ID_Visit" UniqueName="ID_Visit">
|
|
</telerik:GridBoundColumn>
|
|
<telerik:GridBoundColumn DataField="EntryTime" DataType="System.DateTime" FilterControlAltText="Filter EntryTime column" HeaderText="EntryTime" SortExpression="EntryTime" UniqueName="EntryTime">
|
|
</telerik:GridBoundColumn>
|
|
<telerik:GridBoundColumn DataField="ReturnTime" DataType="System.DateTime" FilterControlAltText="Filter ReturnTime column" HeaderText="ReturnTime" SortExpression="ReturnTime" UniqueName="ReturnTime">
|
|
</telerik:GridBoundColumn>
|
|
<telerik:GridBoundColumn DataField="InstallationName" FilterControlAltText="Filter InstallationName column" HeaderText="InstallationName" SortExpression="InstallationName" UniqueName="InstallationName">
|
|
</telerik:GridBoundColumn>
|
|
<telerik:GridBoundColumn DataField="Inst_CODE" DataType="System.Int32" FilterControlAltText="Filter Inst_CODE column" HeaderText="Inst_CODE" SortExpression="Inst_CODE" UniqueName="Inst_CODE">
|
|
</telerik:GridBoundColumn>
|
|
<telerik:GridBoundColumn DataField="TaskType_CODE" DataType="System.Int32" FilterControlAltText="Filter TaskType_CODE column" HeaderText="TaskType_CODE" SortExpression="TaskType_CODE" UniqueName="TaskType_CODE">
|
|
</telerik:GridBoundColumn>
|
|
<telerik:GridBoundColumn DataField="Hp10Dose" DataType="System.Double" FilterControlAltText="Filter Hp10Dose column" HeaderText="Hp10Dose" SortExpression="Hp10Dose" UniqueName="Hp10Dose">
|
|
</telerik:GridBoundColumn>
|
|
<telerik:GridBoundColumn DataField="Hp07Dose" DataType="System.Double" FilterControlAltText="Filter Hp07Dose column" HeaderText="Hp07Dose" SortExpression="Hp07Dose" UniqueName="Hp07Dose">
|
|
</telerik:GridBoundColumn>
|
|
<telerik:GridBoundColumn DataField="Hp10Peak" DataType="System.Double" FilterControlAltText="Filter Hp10Peak column" HeaderText="Hp10Peak" SortExpression="Hp10Peak" UniqueName="Hp10Peak">
|
|
</telerik:GridBoundColumn>
|
|
<telerik:GridBoundColumn DataField="Hp07Peak" DataType="System.Double" FilterControlAltText="Filter Hp07Peak column" HeaderText="Hp07Peak" SortExpression="Hp07Peak" UniqueName="Hp07Peak">
|
|
</telerik:GridBoundColumn>
|
|
<telerik:GridBoundColumn DataField="Hp10Time" DataType="System.DateTime" FilterControlAltText="Filter Hp10Time column" HeaderText="Hp10Time" SortExpression="Hp10Time" UniqueName="Hp10Time">
|
|
</telerik:GridBoundColumn>
|
|
<telerik:GridBoundColumn DataField="Hp07Time" DataType="System.DateTime" FilterControlAltText="Filter Hp07Time column" HeaderText="Hp07Time" SortExpression="Hp07Time" UniqueName="Hp07Time">
|
|
</telerik:GridBoundColumn>
|
|
<telerik:GridBoundColumn DataField="EPD_sn" FilterControlAltText="Filter EPD_sn column" HeaderText="EPD_sn" SortExpression="EPD_sn" UniqueName="EPD_sn">
|
|
</telerik:GridBoundColumn>
|
|
<telerik:GridBoundColumn DataField="EPDRad" FilterControlAltText="Filter EPDRad column" HeaderText="EPDRad" SortExpression="EPDRad" UniqueName="EPDRad">
|
|
</telerik:GridBoundColumn>
|
|
<telerik:GridBoundColumn DataField="alarmStatus" DataType="System.Int32" FilterControlAltText="Filter alarmStatus column" HeaderText="alarmStatus" SortExpression="alarmStatus" UniqueName="alarmStatus">
|
|
</telerik:GridBoundColumn>
|
|
<telerik:GridBoundColumn DataField="otherAlarms" DataType="System.Int32" FilterControlAltText="Filter otherAlarms column" HeaderText="otherAlarms" SortExpression="otherAlarms" UniqueName="otherAlarms">
|
|
</telerik:GridBoundColumn>
|
|
<telerik:GridBoundColumn DataField="errorStatus" DataType="System.Int32" FilterControlAltText="Filter errorStatus column" HeaderText="errorStatus" SortExpression="errorStatus" UniqueName="errorStatus">
|
|
</telerik:GridBoundColumn>
|
|
<telerik:GridBoundColumn DataField="operatingStatus" DataType="System.Int32" FilterControlAltText="Filter operatingStatus column" HeaderText="operatingStatus" SortExpression="operatingStatus" UniqueName="operatingStatus">
|
|
</telerik:GridBoundColumn>
|
|
<telerik:GridCheckBoxColumn DataField="isAlarmCleared" DataType="System.Boolean" FilterControlAltText="Filter isAlarmCleared column" HeaderText="isAlarmCleared" SortExpression="isAlarmCleared" UniqueName="isAlarmCleared">
|
|
</telerik:GridCheckBoxColumn>
|
|
<telerik:GridCheckBoxColumn DataField="isComplete" DataType="System.Boolean" FilterControlAltText="Filter isComplete column" HeaderText="isComplete" SortExpression="isComplete" UniqueName="isComplete">
|
|
</telerik:GridCheckBoxColumn>
|
|
</Columns>
|
|
</MasterTableView>
|
|
</telerik:RadGrid>
|
|
</telerik:RadPageView>
|
|
</telerik:RadMultiPage>
|
|
|
|
<asp:SqlDataSource ID="getPersonLimit" runat="server"
|
|
ConnectionString="<%$ ConnectionStrings:eDosConnectionString %>"
|
|
SelectCommand="PersonLimitSelect" SelectCommandType="StoredProcedure">
|
|
<SelectParameters>
|
|
<asp:ControlParameter ControlID="hPersID" Name="PersID" PropertyName="Value" />
|
|
</SelectParameters>
|
|
</asp:SqlDataSource>
|
|
|
|
<asp:SqlDataSource ID="sqlDsView" runat="server" ConnectionString="<%$ ConnectionStrings:eDosConnectionString %>"
|
|
SelectCommand="PersonSelect" SelectCommandType="StoredProcedure"
|
|
UpdateCommand="PersonUpdate" UpdateCommandType="StoredProcedure">
|
|
<SelectParameters>
|
|
<asp:ControlParameter ControlID="hPersID" Name="PersID" PropertyName="Value" />
|
|
</SelectParameters>
|
|
<UpdateParameters>
|
|
<asp:Parameter Name="PersID" Type="Int32" />
|
|
<asp:Parameter Name="AccessAllow" Type="Boolean" />
|
|
</UpdateParameters>
|
|
</asp:SqlDataSource>
|
|
|
|
<asp:SqlDataSource ID="sqlDSPerson" runat="server"
|
|
ConnectionString="<%$ ConnectionStrings:eDosConnectionString %>"
|
|
SelectCommand="PersonList" SelectCommandType="StoredProcedure"></asp:SqlDataSource>
|
|
|
|
<asp:SqlDataSource ID="sqlDSVisitPersId" runat="server" ConnectionString="<%$ ConnectionStrings:eDosConnectionString %>"
|
|
SelectCommand="VisitPersIDSelect" SelectCommandType="StoredProcedure">
|
|
<SelectParameters>
|
|
<asp:ControlParameter ControlID="hPersID" Name="PersID" PropertyName="Value" Type="Int32" />
|
|
</SelectParameters>
|
|
</asp:SqlDataSource>
|
|
|
|
|
|
|
|
|
|
<asp:SqlDataSource runat="server" ID="dsSearch" ConnectionString="<%$ ConnectionStrings:eDosConnectionString %>" SelectCommand="dbo.personSearch" SelectCommandType="StoredProcedure" >
|
|
<SelectParameters>
|
|
<asp:Parameter DefaultValue="" Name="search" Type="String" />
|
|
<asp:Parameter DefaultValue="*" Name="type" Type="String" />
|
|
<asp:Parameter DefaultValue="false" Name="showDeleted" Type="Boolean" />
|
|
</SelectParameters>
|
|
</asp:SqlDataSource>
|
|
|
|
</asp:Content>
|