finally, the gridview works.