Files
NKC/NKC_WF/WebUserControls/cmp_KS_OkibSum.ascx.cs
T
Samuele E. Locatelli 5fa535860c Update selezione BinCart
2020-07-23 13:22:19 +02:00

54 lines
1.1 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace NKC_WF.WebUserControls
{
public partial class cmp_KS_OkibSum : BaseUserControl
{
protected void Page_Load(object sender, EventArgs e)
{
if(!Page.IsPostBack)
{
BinID = 0;
CartID = 0;
}
}
public void doUpdate()
{
grView.DataBind();
}
public int BinID
{
get
{
int answ = 0;
int.TryParse(hfBinID.Value, out answ);
return answ;
}
set
{
hfBinID.Value = value.ToString();
}
}
public int CartID
{
get
{
int answ = 0;
int.TryParse(hfCartID.Value, out answ);
return answ;
}
set
{
hfCartID.Value = value.ToString();
}
}
}
}