Files
medpred/MedPred/VLab.aspx
T

237 lines
15 KiB
Plaintext

<%@ Page Title="" Language="C#" MasterPageFile="~/JQMob.Master" AutoEventWireup="true" CodeBehind="VLab.aspx.cs" Inherits="MedPred.VLab" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<h3>Esami di laboratorio</h3>
<div style="font-size: 0.7em;">
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" CellPadding="4" DataKeyNames="IdxPaziente,DataVisita" DataSourceID="ods" ForeColor="#333333" GridLines="None" Width="100%" OnRowDataBound="grView_RowDataBound">
<AlternatingRowStyle BackColor="White" />
<EditRowStyle BackColor="#2461BF" />
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<RowStyle BackColor="#EFF3FB" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<SortedAscendingCellStyle BackColor="#F5F7FB" />
<SortedAscendingHeaderStyle BackColor="#6D95E1" />
<SortedDescendingCellStyle BackColor="#E9EBEF" />
<SortedDescendingHeaderStyle BackColor="#4870BE" />
<Columns>
<asp:TemplateField ShowHeader="False" ItemStyle-HorizontalAlign="Center">
<HeaderTemplate>
<div class="ui-nodisc-icon ui-alt-icon" style="white-space: nowrap;">
<asp:LinkButton CssClass="ui-btn ui-shadow ui-corner-all ui-icon-plus ui-btn-icon-notext ui-btn-inline" ID="lbNew" runat="server" CausesValidation="False" OnClick="lbNew_Click" />
</div>
</HeaderTemplate>
<EditItemTemplate>
<div class="ui-nodisc-icon ui-alt-icon" style="white-space: nowrap;">
<asp:LinkButton CssClass="ui-btn ui-shadow ui-corner-all ui-icon-check ui-btn-icon-notext ui-btn-inline" ID="lbUpdate" runat="server" CausesValidation="False" CommandName="Update" />
<asp:LinkButton CssClass="ui-btn ui-shadow ui-corner-all ui-icon-delete ui-btn-icon-notext ui-btn-inline" ID="lbCancel" runat="server" CausesValidation="False" CommandName="Cancel" />
</div>
</EditItemTemplate>
<ItemTemplate>
<div class="ui-nodisc-icon ui-alt-icon" style="white-space: nowrap;">
<asp:LinkButton CssClass="ui-btn ui-shadow ui-corner-all ui-icon-edit ui-btn-icon-notext ui-btn-inline" ID="lbEdit" runat="server" CausesValidation="False" CommandName="Edit" />
</div>
</ItemTemplate>
<FooterTemplate>
<div class="ui-nodisc-icon ui-alt-icon" style="white-space: nowrap;">
<asp:LinkButton CssClass="ui-btn ui-shadow ui-corner-all ui-icon-check ui-btn-icon-notext ui-btn-inline" ID="lbInsert" runat="server" CausesValidation="False" CommandName="Insert" OnClick="lblIns_click" />
<asp:LinkButton CssClass="ui-btn ui-shadow ui-corner-all ui-icon-delete ui-btn-icon-notext ui-btn-inline" ID="lbCancel" runat="server" CausesValidation="False" CommandName="Cancel" />
</div>
</FooterTemplate>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:TemplateField>
<asp:TemplateField HeaderText="DataVisita" SortExpression="DataVisita">
<EditItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Eval("DataVisita", "{0:dd/MM/yy}") %>'></asp:Label>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Bind("DataVisita", "{0:dd/MM/yy}") %>'></asp:Label>
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
<asp:TemplateField HeaderText="Glicemia" SortExpression="Glicemia">
<EditItemTemplate>
<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("Glicemia") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label2" runat="server" Text='<%# Bind("Glicemia") %>'></asp:Label>
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
<asp:TemplateField HeaderText="ColesTot" SortExpression="ColesTot">
<EditItemTemplate>
<asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("ColesTot") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label3" runat="server" Text='<%# Bind("ColesTot") %>'></asp:Label>
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
<asp:TemplateField HeaderText="LDL" SortExpression="LDL">
<EditItemTemplate>
<asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("LDL") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label4" runat="server" Text='<%# Bind("LDL") %>'></asp:Label>
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
<asp:TemplateField HeaderText="HDL" SortExpression="HDL">
<EditItemTemplate>
<asp:TextBox ID="TextBox4" runat="server" Text='<%# Bind("HDL") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label5" runat="server" Text='<%# Bind("HDL") %>'></asp:Label>
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
<asp:TemplateField HeaderText="Trigliceridi" SortExpression="Trigliceridi">
<EditItemTemplate>
<asp:TextBox ID="TextBox5" runat="server" Text='<%# Bind("Trigliceridi") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label6" runat="server" Text='<%# Bind("Trigliceridi") %>'></asp:Label>
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
<asp:TemplateField HeaderText="ColRapLDLHDL" SortExpression="ColRapLDLHDL">
<EditItemTemplate>
<asp:Label ID="Label2" runat="server" Text='<%# Eval("ColRapLDLHDL") %>'></asp:Label>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label7" runat="server" Text='<%# Bind("ColRapLDLHDL") %>'></asp:Label>
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
<asp:TemplateField HeaderText="Creatinina" SortExpression="Creatinina">
<EditItemTemplate>
<asp:TextBox ID="TextBox6" runat="server" Text='<%# Bind("Creatinina") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label8" runat="server" Text='<%# Bind("Creatinina") %>'></asp:Label>
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
<asp:TemplateField HeaderText="Omocisteina" SortExpression="Omocisteina">
<EditItemTemplate>
<asp:TextBox ID="TextBox7" runat="server" Text='<%# Bind("Omocisteina") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label9" runat="server" Text='<%# Bind("Omocisteina") %>'></asp:Label>
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
<asp:TemplateField HeaderText="MHTFR" SortExpression="MHTFR">
<EditItemTemplate>
<asp:TextBox ID="TextBox8" runat="server" Text='<%# Bind("MHTFR") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label10" runat="server" Text='<%# Bind("MHTFR") %>'></asp:Label>
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
<asp:TemplateField HeaderText="FattII" SortExpression="FattII">
<EditItemTemplate>
<asp:TextBox ID="TextBox9" runat="server" Text='<%# Bind("FattII") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label11" runat="server" Text='<%# Bind("FattII") %>'></asp:Label>
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
<asp:TemplateField HeaderText="FattV" SortExpression="FattV">
<EditItemTemplate>
<asp:TextBox ID="TextBox10" runat="server" Text='<%# Bind("FattV") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label12" runat="server" Text='<%# Bind("FattV") %>'></asp:Label>
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
<asp:TemplateField ShowHeader="False" ItemStyle-HorizontalAlign="Center">
<HeaderTemplate>
</HeaderTemplate>
<EditItemTemplate>
<div class="ui-nodisc-icon ui-alt-icon" style="white-space: nowrap;">
<asp:LinkButton CssClass="ui-btn ui-shadow ui-corner-all ui-icon-check ui-btn-icon-notext ui-btn-inline" ID="lbUpdate2" runat="server" CausesValidation="False" CommandName="Update" />
<asp:LinkButton CssClass="ui-btn ui-shadow ui-corner-all ui-icon-delete ui-btn-icon-notext ui-btn-inline" ID="lbCancel2" runat="server" CausesValidation="False" CommandName="Cancel" />
</div>
</EditItemTemplate>
<ItemTemplate>
<div class="ui-nodisc-icon ui-alt-icon" style="white-space: nowrap;">
<asp:LinkButton CssClass="ui-btn ui-shadow ui-corner-all ui-icon-minus ui-btn-icon-notext ui-btn-inline" ID="lbDelete" runat="server" CausesValidation="False" CommandName="Delete" OnClientClick='<%# SteamWare.jsUtils.getCBE("Sicuro di voler eliminare il record", false) %>' />
</div>
</ItemTemplate>
<FooterTemplate>
<div class="ui-nodisc-icon ui-alt-icon" style="white-space: nowrap;">
<asp:LinkButton CssClass="ui-btn ui-shadow ui-corner-all ui-icon-check ui-btn-icon-notext ui-btn-inline" ID="lbInsert2" runat="server" CausesValidation="False" CommandName="Insert" OnClick="lblIns_click" />
<asp:LinkButton CssClass="ui-btn ui-shadow ui-corner-all ui-icon-delete ui-btn-icon-notext ui-btn-inline" ID="lbCancel2" runat="server" CausesValidation="False" CommandName="Cancel" />
</div>
</FooterTemplate>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:TemplateField>
</Columns>
</asp:GridView>
<asp:ObjectDataSource ID="ods" runat="server" DeleteMethod="Delete" InsertMethod="Insert" OldValuesParameterFormatString="Original_{0}" SelectMethod="GetData" TypeName="MedPred_Data.DS_ApplicazioneTableAdapters.VisLabTableAdapter" UpdateMethod="Update">
<DeleteParameters>
<asp:Parameter Name="Original_IdxPaziente" Type="Int32" />
<asp:Parameter Name="Original_DataVisita" Type="DateTime" />
<asp:Parameter Name="Original_Glicemia" Type="Double" />
<asp:Parameter Name="Original_ColesTot" Type="Double" />
<asp:Parameter Name="Original_LDL" Type="Double" />
<asp:Parameter Name="Original_HDL" Type="Double" />
<asp:Parameter Name="Original_Trigliceridi" Type="Double" />
<asp:Parameter Name="Original_ColRapLDLHDL" Type="Double" />
<asp:Parameter Name="Original_Creatinina" Type="Double" />
<asp:Parameter Name="Original_Omocisteina" Type="Double" />
<asp:Parameter Name="Original_MHTFR" Type="Double" />
<asp:Parameter Name="Original_FattII" Type="Double" />
<asp:Parameter Name="Original_FattV" Type="Double" />
</DeleteParameters>
<InsertParameters>
<asp:Parameter Name="IdxPaziente" Type="Int32" />
<asp:Parameter Name="DataVisita" Type="DateTime" />
<asp:Parameter Name="Glicemia" Type="Double" />
<asp:Parameter Name="ColesTot" Type="Double" />
<asp:Parameter Name="LDL" Type="Double" />
<asp:Parameter Name="HDL" Type="Double" />
<asp:Parameter Name="Trigliceridi" Type="Double" />
<asp:Parameter Name="Creatinina" Type="Double" />
<asp:Parameter Name="Omocisteina" Type="Double" />
<asp:Parameter Name="MHTFR" Type="Double" />
<asp:Parameter Name="FattII" Type="Double" />
<asp:Parameter Name="FattV" Type="Double" />
</InsertParameters>
<UpdateParameters>
<asp:Parameter Name="Glicemia" Type="Double" />
<asp:Parameter Name="ColesTot" Type="Double" />
<asp:Parameter Name="LDL" Type="Double" />
<asp:Parameter Name="HDL" Type="Double" />
<asp:Parameter Name="Trigliceridi" Type="Double" />
<asp:Parameter Name="Creatinina" Type="Double" />
<asp:Parameter Name="Omocisteina" Type="Double" />
<asp:Parameter Name="MHTFR" Type="Double" />
<asp:Parameter Name="FattII" Type="Double" />
<asp:Parameter Name="FattV" Type="Double" />
<asp:Parameter Name="Original_IdxPaziente" Type="Int32" />
<asp:Parameter Name="Original_DataVisita" Type="DateTime" />
<asp:Parameter Name="Original_Glicemia" Type="Double" />
<asp:Parameter Name="Original_ColesTot" Type="Double" />
<asp:Parameter Name="Original_LDL" Type="Double" />
<asp:Parameter Name="Original_HDL" Type="Double" />
<asp:Parameter Name="Original_Trigliceridi" Type="Double" />
<asp:Parameter Name="Original_ColRapLDLHDL" Type="Double" />
<asp:Parameter Name="Original_Creatinina" Type="Double" />
<asp:Parameter Name="Original_Omocisteina" Type="Double" />
<asp:Parameter Name="Original_MHTFR" Type="Double" />
<asp:Parameter Name="Original_FattII" Type="Double" />
<asp:Parameter Name="Original_FattV" Type="Double" />
</UpdateParameters>
</asp:ObjectDataSource>
</div>
</asp:Content>