I bind my datagrid using
//fill datagrid public DataTable GameData { get { DataSet ds = new DataSet(); FileStream fs = new FileStream
It also works with the attribute:
IsReadOnly="true"