dotnet academic:
Is how I have a database that has kept records ... The fields are id, time
and day ...
I have type in the database stored for the day 29-02-2008 ... 08:30 ....
12:30 ...... 13:30 ....
But this has 4 columns ... But as so has 3 record in the database so this
day appears in 3 columns ... But this is not me is working well
code
this->list->Columns->Add("dia","Dia");
this->list->Columns->Add("hora","Entrada de Manha");
this->list->Columns->Add("hora","Saida de Manha");
this->list->Columns->Add("hora","Entrada a Tarde");
this->list->Columns->Add("hora","Saida a Tarde");
while(sqlDataReader->Read()){
array<String ^> ^cliente = {
sqlDataReader[1]->ToString(),
sqlDataReader[2]->ToString()};
this->list->Rows->Add(cliente);