19 lines
1.3 KiB
Plaintext
19 lines
1.3 KiB
Plaintext
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_ErrorsLog.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_ErrorsLog" %>
|
|
|
|
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataKeyNames="ErrID" DataSourceID="ods" CssClass="table table-striped table-condensed table-sm" AllowSorting="true">
|
|
<Columns>
|
|
<%--<asp:BoundField DataField="ErrID" HeaderText="ErrID" InsertVisible="False" ReadOnly="True" SortExpression="ErrID" />--%>
|
|
<asp:BoundField DataField="ErrType" HeaderText="Type" SortExpression="ErrType" />
|
|
<asp:BoundField DataField="ParentUid" HeaderText="PUID" SortExpression="ParentUid" />
|
|
<asp:BoundField DataField="Uid" HeaderText="UID" SortExpression="Uid" />
|
|
<asp:BoundField DataField="Description" HeaderText="Description" SortExpression="Description" />
|
|
</Columns>
|
|
</asp:GridView>
|
|
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByParent" TypeName="AppData.DS_AppTableAdapters.ErrorsLogTableAdapter">
|
|
<SelectParameters>
|
|
<asp:Parameter DefaultValue="" Name="ErrType" Type="String" />
|
|
<asp:ControlParameter ControlID="hfPuid" DefaultValue="#" Name="ParentUid" PropertyName="Value" Type="String" />
|
|
</SelectParameters>
|
|
</asp:ObjectDataSource>
|
|
<asp:HiddenField ID="hfPuid" runat="server" />
|