Files
GPW/GPW_Admin/WebUserControls/cmp_ticketList.ascx.cs
2022-02-03 07:29:11 +01:00

37 lines
926 B
C#

using GPW_data;
using System;
using System.Linq;
namespace GPW_Admin.WebUserControls
{
public partial class cmp_ticketList : BaseUserControl
{
#region Private Methods
private void displayTickets()
{
var elencoTickets = licenzeGPW
.TicketsList
.Where(x => (x.Status < LiManObj.StatoRichiesta.Approvata) || chkShowAll.Checked)
.ToList();
grView.DataSource = elencoTickets;
grView.DataBind();
}
#endregion Private Methods
#region Protected Methods
protected void lbtClosePage_Click(object sender, EventArgs e)
{
raiseReset();
}
protected void Page_Load(object sender, EventArgs e)
{
displayTickets();
}
#endregion Protected Methods
}
}