protected void SetExamFeeSettings(int intID, String strType) { BEStudent objBEStudent = new BEStudent(); BStudent objBStudent = new BStudent(); objBEStudent.IntExamID = intID; objBEStudent.IntUserID = Convert.ToInt32(Session[EnumPageSessions.USERID]); if (strType == "EXAMID") { objBStudent.BGetExamFeeSettingsByExamID(objBEStudent); } else { objBStudent.BGetExamFeeSettingsByTransID(objBEStudent); } Session[EnumPayment.PaidBY_ExamFee] = objBEStudent.intExamFeePaidBy.ToString(); Session[EnumPayment.PaidBY_OndeMand] = objBEStudent.intOndemandPaidBy.ToString(); objBEStudent = null; objBStudent = null; }