Adding a new column to a DataGrid

Hi.

I have a DataGrid that I have populated with an XML. Now I wanted to add a column at the beginning with respectively row number. How can I do that? Add a column at the beginning and giving it a title is easy but I don’t know how to populate it!?