Witam podczas dodawania danych do listboxa wywala error
while (Result->Read())
{
this->listBox1->Items->AddRange(Result->GetString("pole1"));
}
error C2227: left of '->Items' must point to class/struct/union/generic type
error C2227: left of '->AddRange' must point to class/struct/union/generic type
w czym problem co robię źle?