ПИбд-23 Насыров Артур Газинурович Лабораторная работа №1 #1

Closed
gaillard wants to merge 12 commits from lab1 into main
Showing only changes of commit 5e8132f8dd - Show all commits

View File

@ -87,7 +87,7 @@ namespace ProjectFlowerShop
return new OrderBindingModel
{
Id = id,
FlowerId = Convert.ToInt32(DataGridView.SelectedRows[0].Cells["IceCreamId"].Value),
FlowerId = Convert.ToInt32(DataGridView.SelectedRows[0].Cells["FlowerId"].Value),
Status = Enum.Parse<OrderStatus>(DataGridView.SelectedRows[0].Cells["Status"].Value.ToString()),
Count = Convert.ToInt32(DataGridView.SelectedRows[0].Cells["Count"].Value),
Sum = double.Parse(DataGridView.SelectedRows[0].Cells["Sum"].Value.ToString()),