Ejemplo n.º 1
0
    protected void btn_save_Click(object sender, ImageClickEventArgs e)
    {
        UpdateHeader();
        _entity.bizCell.CellReport temp = _header.Clone();
        temp.ApplyEdit();
        _header = temp.Save();

        _details.ParentCode = _header.Id;

        UpdateDetail();

        _entity.bizCell.CellReportDetails temp2 = _details.Clone();
        temp2.ApplyEdit();

        _details = temp2.Save();
        ShowClientMessage("Save Successfully");
        Response.Redirect("Default.aspx");
    }
Ejemplo n.º 2
0
 private void LoadData()
 {
     _header        = GetRptCell();
     _details       = GetRptCellMember();
     _timePlaceList = GetCellServiceTimePlaceList();
 }