thanks..

I am clearing it only only if number of rows is 1 + 1 header row. That is because i am unable to delete the last fixed row.

i am inserting the data in the grid before the last added code as:
Set MSHFlexGrid1.DataSource = rs

if i check the MSHFlexGrid1.rows property then it returns 10 but i am just able to see 1 row on the display..