43 lines
932 B
C#
43 lines
932 B
C#
using MagData;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.Web.UI;
|
|
using System.Web.UI.WebControls;
|
|
|
|
namespace MP_MAG.WebUserControls
|
|
{
|
|
public partial class cmp_packListNew : BaseUserControl
|
|
{
|
|
#region Public Properties
|
|
|
|
public string CodCliente
|
|
{
|
|
get
|
|
{
|
|
return hfCodCli.Value.Trim();
|
|
}
|
|
set
|
|
{
|
|
hfCodCli.Value = $"{value}";
|
|
}
|
|
}
|
|
|
|
#endregion Public Properties
|
|
|
|
#region Protected Methods
|
|
|
|
protected void lbtAddNew_Click(object sender, EventArgs e)
|
|
{
|
|
MagDataLayer.man.taPList.insertQuery(txtDescrPack.Text.Trim(), hfCodCli.Value);
|
|
raiseAddNew();
|
|
}
|
|
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
}
|
|
|
|
#endregion Protected Methods
|
|
}
|
|
} |