Inizio conf week x aperture

This commit is contained in:
Samuele E. Locatelli
2020-01-02 14:56:29 +01:00
parent 64a6c52f5d
commit 03f5325659
4 changed files with 84 additions and 17 deletions
-17
View File
@@ -1,17 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace ES3
{
public partial class Site_Mobile : System.Web.UI.MasterPage
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}
+18
View File
@@ -0,0 +1,18 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_confWeek.ascx.cs" Inherits="ES3.WebUserControls.cmp_confWeek" %>
conf settimanale
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataKeyNames="CodConfAper" DataSourceID="ods">
<Columns>
<asp:BoundField DataField="CodConfAper" HeaderText="CodConfAper" ReadOnly="True" SortExpression="CodConfAper" />
<asp:BoundField DataField="G1" HeaderText="G1" SortExpression="G1" />
<asp:BoundField DataField="G2" HeaderText="G2" SortExpression="G2" />
<asp:BoundField DataField="G3" HeaderText="G3" SortExpression="G3" />
<asp:BoundField DataField="G4" HeaderText="G4" SortExpression="G4" />
<asp:BoundField DataField="G5" HeaderText="G5" SortExpression="G5" />
<asp:BoundField DataField="G6" HeaderText="G6" SortExpression="G6" />
<asp:BoundField DataField="G7" HeaderText="G7" SortExpression="G7" />
<asp:BoundField DataField="OreWeek" HeaderText="OreWeek" ReadOnly="True" SortExpression="OreWeek" />
<asp:BoundField DataField="PercApert" HeaderText="PercApert" ReadOnly="True" SortExpression="PercApert" />
</Columns>
</asp:GridView>
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="MapoDb.DS_PlanTableAdapters.ConfWeekTableAdapter"></asp:ObjectDataSource>
+31
View File
@@ -0,0 +1,31 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace ES3.WebUserControls
{
public partial class cmp_confWeek : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
}
/// <summary>
/// Dim pagina
/// </summary>
public int pageSize
{
get
{
return grView.PageSize;
}
set
{
grView.PageSize = value;
}
}
}
}
+35
View File
@@ -0,0 +1,35 @@
//------------------------------------------------------------------------------
// <generato automaticamente>
// Codice generato da uno strumento.
//
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
// il codice viene rigenerato.
// </generato automaticamente>
//------------------------------------------------------------------------------
namespace ES3.WebUserControls
{
public partial class cmp_confWeek
{
/// <summary>
/// Controllo grView.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.GridView grView;
/// <summary>
/// Controllo ods.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
}
}