Update DataForm.cs

This commit is contained in:
redtea committed 2024-05-24 00:24:36 +03:00
1 parent 327041c3ab
commit aa078f0c4f
1 file changed
+1 -1
+1 -1
View File
@@ -64,7 +64,7 @@ namespace PaymentLogs
Payment payment = new Payment Payment payment = new Payment
{ {
Id = Convert.ToInt32(row.Cells["id"].Value), Id = Convert.ToInt32(row.Cells["id"].Value),
FCs = row.Cells["fcs"].ToString(), FCs = row.Cells["fcs"].Value.ToString(),
CourseId = Program.CourseRepository.ByName(row.Cells["course"].Value.ToString()).Id, CourseId = Program.CourseRepository.ByName(row.Cells["course"].Value.ToString()).Id,
CoursePrice = Convert.ToInt32(row.Cells["course_price"].Value), CoursePrice = Convert.ToInt32(row.Cells["course_price"].Value),
Paid = Convert.ToInt32(row.Cells["paid"].Value), Paid = Convert.ToInt32(row.Cells["paid"].Value),