Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for each (Tenants^ t in tenants)
- {
- DataGridViewRow^ row = gcnew DataGridViewRow();
- row->CreateCells(dataGridView1);
- row->Cells[0]->Value = t->companyName;
- row->Cells[1]->Value = t->roomNr;
- row->Cells[2]->Value = t->start;
- row->Cells[3]->Value = t->end;
- row->Cells[4]->Value = t->rentPrice;
- row->Cells[5]->Value = t->paymentType;
- dataGridView1->Rows->Add(row);
- }
- int k = tenants->Count;
- std::cout << k << std::endl;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement