completati update x registro controlli + SQL...
This commit is contained in:
@@ -11,10 +11,6 @@ namespace MoonProTablet.WebUserControls
|
||||
{
|
||||
public partial class mod_controlliProd : System.Web.UI.UserControl
|
||||
{
|
||||
/// <summary>
|
||||
/// registrato nuovo valore
|
||||
/// </summary>
|
||||
public event EventHandler eh_inserting;
|
||||
/// <summary>
|
||||
/// registrato nuovo valore
|
||||
/// </summary>
|
||||
@@ -185,14 +181,24 @@ namespace MoonProTablet.WebUserControls
|
||||
/// <param name="e"></param>
|
||||
protected void lbtSalva_Click(object sender, EventArgs e)
|
||||
{
|
||||
// salvo controllo KO !!!FARE!!!
|
||||
// salvo controllo KO
|
||||
DataLayer.obj.taRC.insertQuery(idxMacchina, DataLayer.MatrOpr, false, txtNoteContr.Text.Trim(), DateTime.Now);
|
||||
// sollevo evento!
|
||||
if (eh_newVal != null)
|
||||
{
|
||||
eh_newVal(this, new EventArgs());
|
||||
}
|
||||
resetControlli();
|
||||
}
|
||||
|
||||
private void resetControlli()
|
||||
{
|
||||
txtNoteContr.Text = "";
|
||||
// nascondo!
|
||||
switchBtnConferma(false);
|
||||
divNote.Visible = false;
|
||||
}
|
||||
|
||||
protected void ddlSubMacc_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
subMaccSel = ddlSubMacc.SelectedValue;
|
||||
@@ -237,6 +243,7 @@ namespace MoonProTablet.WebUserControls
|
||||
{
|
||||
eh_newVal(this, new EventArgs());
|
||||
}
|
||||
resetControlli();
|
||||
}
|
||||
|
||||
protected void lbtKO_Click(object sender, EventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user