if we have a table with many no of colums and rows.how to to write loop for a table? help can b appreciated.thanks in advance.