Continuo creazione pagina offline orders

This commit is contained in:
Samuele E. Locatelli
2019-10-15 16:34:59 +02:00
parent 298e51fd86
commit 6a91cbc5d8
9 changed files with 269 additions and 50 deletions
+8 -1
View File
@@ -7,7 +7,7 @@ using System.Web.UI.WebControls;
namespace NKC_WF.WebUserControls
{
public partial class cmp_scrapList : System.Web.UI.UserControl
public partial class cmp_scrapList : BaseUserControl
{
protected void Page_Load(object sender, EventArgs e)
{
@@ -92,6 +92,7 @@ namespace NKC_WF.WebUserControls
}
protected void lbtCreateOffOrd_Click(object sender, EventArgs e)
{
bool doReport = false;
// creo NUOVO ordine offline...
DS_App.OfflineOrderListDataTable tabOrdini = DataLayer.man.taOffOL.insertNew();
int itemId = 0;
@@ -114,12 +115,18 @@ namespace NKC_WF.WebUserControls
if (itemId > 0)
{
DataLayer.man.taOO2I.insertQuery(tabOrdini[0].OrdID, itemId);
doReport = true;
}
}
}
catch { }
}
}
if (doReport)
{
grView.DataBind();
raiseEvent();
}
}
}
}