protected void PrintBtn_Click(object sender, EventArgs e) { try { this.SalesApplyBLL.PrintCountForFormApply(int.Parse(this.ViewState["ObjectId"].ToString())); FormDS.FormApplyRow applyRow = new BusinessObjects.FormDSTableAdapters.FormApplyTableAdapter().GetDataByID(int.Parse(this.ViewState["ObjectId"].ToString()))[0]; this.PrintInfor.Text = "该方案已经被打印" + applyRow.PrintCount + "次"; } catch (Exception exception) { PageUtility.DealWithException(this, exception); } }
protected void PrintBtn_Click(object sender, EventArgs e) { try { this.SalesApplyBLL.PrintCountForFormApply(int.Parse(this.ViewState["ObjectId"].ToString())); FormDS.FormApplyRow applyRow = new BusinessObjects.FormDSTableAdapters.FormApplyTableAdapter().GetDataByID(int.Parse(this.ViewState["ObjectId"].ToString()))[0]; this.PrintInfor.Text = "�÷����Ѿ�����ӡ" + applyRow.PrintCount + "��"; } catch (Exception exception) { PageUtility.DealWithException(this, exception); } }