24.
Jadval->Rows->Add(Qator);
25.
//Jadvalning 2- qatorini to'ldiramiz:
26.
Qator = Jadval->NewRow();
27.
Qator["Oy"] = "Iyun"; Qator["Sotib olingan max.soni"] = 20;
28.
Qator["Xarajatlar"] =5; Qator["Daromat"] =25;
29.
Qator["Sof daromat"] =Convert::ToInt64(Qator["Daromat"])-
30.
Convert::ToInt64(Qator["Xarajatlar"]);
31.
Jadval->Rows->Add(Qator);
32.
//3- qatorni qo'shamiz:
33.
Qator = Jadval->NewRow();
34.
Qator["Oy"] = "Iyul"; Qator["Sotib olingan max.soni"] = 30;
35.
Qator["Xarajatlar"] =10; Qator["Daromat"] =35;
36.
Qator["Sof daromat"] =Convert::ToInt64(Qator["Daromat"])-
37.
Convert::ToInt64(Qator["Xarajatlar"]);
38.
Jadval->Rows->Add(Qator);
39.
//4- qatorni qo'shamiz:
40.
Qator = Jadval->NewRow();
41.
Qator["Oy"] = "Avgust"; Qator["Sotib olingan max.soni"]= 40;
42.
Qator["Xarajatlar"] =15; Qator["Daromat"] =45;
43.
Qator["Sof daromat"] =Convert::ToInt64(Qator["Daromat"])-
44.
Convert::ToInt64(Qator["Xarajatlar"]);
Do'stlaringiz bilan baham: |