diff --git a/sql2/Forms/DataForm.cs b/sql2/Forms/DataForm.cs index 6cd9a4c..a1cc5f1 100644 --- a/sql2/Forms/DataForm.cs +++ b/sql2/Forms/DataForm.cs @@ -64,7 +64,7 @@ namespace PaymentLogs Payment payment = new Payment { 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, CoursePrice = Convert.ToInt32(row.Cells["course_price"].Value), Paid = Convert.ToInt32(row.Cells["paid"].Value),