本文整理汇总了C#中Utility.UpdateApplicationStatus方法的典型用法代码示例。如果您正苦于以下问题:C# Utility.UpdateApplicationStatus方法的具体用法?C# Utility.UpdateApplicationStatus怎么用?C# Utility.UpdateApplicationStatus使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Utility
的用法示例。
在下文中一共展示了Utility.UpdateApplicationStatus方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: btnFinalize_Click
protected void btnFinalize_Click(object sender, EventArgs e)
{
LoanDSTableAdapters.LoanApplicationsTableAdapter loanApp1 = new LoanDSTableAdapters.LoanApplicationsTableAdapter();
int AppStage = Convert.ToInt32(loanApp1.getApplicationStatus(MySessionManager.AppID));
Utility utilClass = new Utility();
if (cmbAction.Text == "Forward Application")
{
ShowMessageBox("Are u sure on forwarding the application");
utilClass.UpdateApplicationStatus("Forward Application To Approval", AppStage);
Response.Redirect("~/pages/loanapplications.aspx");
}
else if (cmbAction.Text == "Forward To Risk")
{
utilClass.UpdateApplicationStatus("Forward To Risk", AppStage);
Response.Redirect("~/pages/loanapplications.aspx");
}
else if (cmbAction.Text == "Forward To Legal")
{
utilClass.UpdateApplicationStatus("Forward To Legal", AppStage);
Response.Redirect("~/pages/loanapplications.aspx");
}
else if (cmbAction.Text == "Send Back For Review")
{
utilClass.UpdateApplicationStatus("Send Back For Review", AppStage);
Response.Redirect("~/pages/loanapplications.aspx");
}
}
示例2: btnFinalize_Click
protected void btnFinalize_Click(object sender, EventArgs e)
{
LoanDSTableAdapters.LoanApplicationsTableAdapter loanApp1 = new LoanDSTableAdapters.LoanApplicationsTableAdapter();
int AppStage = Convert.ToInt32(loanApp1.getApplicationStatus(MySessionManager.AppID));
Utility utilClass = new Utility();
if (cmbAction.Text == "Forward To Credit Team")
{
utilClass.UpdateApplicationStatus("Forward To Credit Team", AppStage);
Response.Redirect("~/pages/loanapplications.aspx");
}
else if (cmbAction.Text == "Send Back For Review")
{
utilClass.UpdateApplicationStatus("Send Back For Review", AppStage);
Response.Redirect("~/pages/loanapplications.aspx");
}
}