how get data from database into code

From: Mikos (mikos20_at_wp.pl)
Date: 01/22/04


Date: Thu, 22 Jan 2004 12:25:16 +0100

Hi

I get data from ADOQuery and simply i can see it in DBGRid:
1 name surname
2 name surname2
but i would like to modify this data in code ?
something like that
for(rows=0; rows!=EOF; rows++)
{
  for (cols=0; cols!=EOF; cols++)
  {
      My_code_variable=My_DATABASE_variable
  }
}
or where i may find solve for this problem ?

many thanks
Mikos