Skip to content

Commit 50ea53f

Browse files
committed
Uncomment methods for showing tables in the Page_Load method.
1 parent 84be899 commit 50ea53f

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

WebApplication2/Customer/Pages/CustomerComponent.aspx.cs

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -17,33 +17,33 @@ protected void Page_Load(object sender, EventArgs e)
1717
string connStr = WebConfigurationManager.ConnectionStrings["Milestone2DB_24"].ToString();
1818
// Example input values, replace with actual inputs from user or session
1919
MobileNo = Session["accountmn"] as String;
20-
int NationalID = 2; // Example NationalID
21-
string PlanName = "Premium Plan"; // Example PlanName
20+
//int NationalID = 2; // Example NationalID
21+
//string PlanName = "Premium Plan"; // Example PlanName
2222

2323
//// ShowConsoleMessage("Retrieving all active benefits...");
24-
// ShowAllServicePlans(connStr);
25-
// ShowAllBenefits(connStr);
26-
// ShowAllShops(connStr);
27-
// ShowCompanyOfferedPlans(connStr, MobileNo);
28-
// ShowUsagePlanCM(connStr, MobileNo);
29-
// ShowSubscribedPlansFiveMonths(connStr, MobileNo);
30-
// //ShowConsoleMessage("Retrieving unresolved technical support tickets...");
31-
// ShowUnresolvedTickets(connStr, NationalID);
32-
33-
// //ShowConsoleMessage("Retrieving the highest voucher...");
34-
// ShowHighestVoucher(connStr, MobileNo);
35-
36-
// //ShowConsoleMessage("Retrieving remaining amount for the last payment...");
37-
// ShowRemainingAmount(connStr, MobileNo, PlanName);
38-
39-
// //ShowConsoleMessage("Retrieving extra amount for the last payment...");
40-
// ShowExtraAmount(connStr, MobileNo, PlanName);
41-
42-
// //ShowConsoleMessage("Retrieving top 10 successful payments...");
43-
// ShowTopPayments(connStr, MobileNo);
44-
ShowCashbackWalletCustomer(connStr,1234567);
45-
// // Clear console when data is loaded
46-
// //ClearConsole();
24+
ShowAllServicePlans(connStr);
25+
ShowAllBenefits(connStr);
26+
ShowAllShops(connStr);
27+
ShowCompanyOfferedPlans(connStr, MobileNo);
28+
ShowUsagePlanCM(connStr, MobileNo);
29+
ShowSubscribedPlansFiveMonths(connStr, MobileNo);
30+
//ShowConsoleMessage("Retrieving unresolved technical support tickets...");
31+
//ShowUnresolvedTickets(connStr, NationalID);
32+
33+
//ShowConsoleMessage("Retrieving the highest voucher...");
34+
//ShowHighestVoucher(connStr, MobileNo);
35+
36+
//ShowConsoleMessage("Retrieving remaining amount for the last payment...");
37+
//ShowRemainingAmount(connStr, MobileNo, PlanName);
38+
39+
//ShowConsoleMessage("Retrieving extra amount for the last payment...");
40+
//ShowExtraAmount(connStr, MobileNo, PlanName);
41+
42+
//ShowConsoleMessage("Retrieving top 10 successful payments...");
43+
ShowTopPayments(connStr, MobileNo);
44+
//ShowCashbackWalletCustomer(connStr, 1234567);
45+
// Clear console when data is loaded
46+
//ClearConsole();
4747
}
4848
}
4949

0 commit comments

Comments
 (0)