protected void btnSubmit_Click(Object Sender, EventArgs e) { Button oButton = (Button)Sender; int intStep = Int32.Parse(lblStep.Text); int intDetailId = Int32.Parse(lblDetailId.Text); oTPM.UpdatePCRDetail(intDetailId, Int32.Parse(oButton.CommandArgument), txtComments.Text); //oTPM.ApprovePCR(intId, intStep + 1, Int32.Parse(oButton.CommandArgument), intPCRPage, intWorkloadManager, strBCC); oTPM.ApprovePCR(intId, intStep + 1, Int32.Parse(oButton.CommandArgument), intPCRPage, intWorkloadManager, Request.PhysicalApplicationPath + oTPM.GetPCRPath(intId)); Response.Redirect(oPage.GetFullLink(intPage) + "?id=" + lblId.Text + "&action=done"); }