msgbox datagrid1.columns(0).text
>Thanks again.
>But i got another problem, hope you can give me some advice.
>I would like to display the select data on the grid, okay, i got it already.
>Moreover, i want to hv a command button , so that when i click i can pop up a msgbox with content that the current index located on the grid.
>
>Can i do it?
>
>wai
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com