Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" GridLines="None" CellPadding="4" ForeColor="#333333" onrowcommand="GridView1_RowCommand" Style=" top: 90px; width: 750px;" OnRowDeleting="OnRowDeleting" AllowPaging="True" PageSize="5" OnPageIndexChanging="gridView_PageIndexChanging" >
- <AlternatingRowStyle BackColor="White" />
- <Columns>
- <asp:TemplateField HeaderText="Ticket No" HeaderStyle-HorizontalAlign="Left" HeaderStyle-Width="12%">
- <ItemTemplate>
- <asp:LinkButton ID="LinkButton1" OnClick="LinkButton1_Click"
- Text='<%#Eval("TICKETNO") %>' runat="server"></asp:LinkButton>
- </ItemTemplate>
- </asp:TemplateField>
- <asp:BoundField DataField="REPORTDATE" HeaderText="Reported Date" >
- <HeaderStyle Width="17%" HorizontalAlign="Left" />
- </asp:BoundField>
- <asp:BoundField DataField="STATUS" HeaderText="Status" >
- <HeaderStyle Width="11%" HorizontalAlign="Left" />
- </asp:BoundField>
- <asp:BoundField DataField="SEVERITY" HeaderText="Severity" >
- <HeaderStyle Width="12%" HorizontalAlign="Left" />
- </asp:BoundField>
- <asp:BoundField DataField="INCIDENTDESC" HeaderText="Incident Ddescription" >
- <HeaderStyle Width="32%" HorizontalAlign="Left" />
- </asp:BoundField>
- <asp:BoundField DataField="INCIDENTTYPE" HeaderText="Type" >
- <HeaderStyle Width="10%" HorizontalAlign="Left" />
- </asp:BoundField>
- <asp:ButtonField ButtonType="Image" CommandName="Review" HeaderText="Preview" ImageUrl="Image/review.PNG" ControlStyle-Height="20px" ControlStyle-Width="50px" >
- <HeaderStyle Width="10%" HorizontalAlign="Left" />
- </asp:ButtonField>
- <asp:CommandField ShowDeleteButton="true" ButtonType="Image" DeleteImageUrl="Image/delete.JPG" ControlStyle-Height="20px" ControlStyle-Width="50px" HeaderText="Delete">
- <HeaderStyle Width="10%" HorizontalAlign="Left" />
- </asp:CommandField>
- </Columns>
- <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
- <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
- <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
- <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
- <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
- <SortedAscendingCellStyle BackColor="#FDF5AC" />
- <SortedAscendingHeaderStyle BackColor="#4D0000" />
- <SortedDescendingCellStyle BackColor="#FCF6C0" />
- <SortedDescendingHeaderStyle BackColor="#820000" />
- <PagerSettings Mode="NextPreviousFirstLast" FirstPageText="<--" PreviousPageText="<" NextPageText=">" LastPageText="-->" />
- <PagerStyle HorizontalAlign="Center" BackColor="White" />
- </asp:GridView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement