I need to check echech and evry row in record set is valid or not then valid rows need to add to matrix . how to add column to matrix from record set row by row.