Here is the code in question:

filePath = "..\authors.xml"

With DataGrid1
      .DataSource = dsAuthors
      .DataMember = "authors"
End With

However, it will not allow me to reference .DataMember, it keeps popping up with the error text "'DataMember' is not a member of 'System.Windows.Forms.DataGrid'". What can I do to resolve this error? Or how else can I read into the DataGrid?

Note: I have the most recent Framework installed with Service Pack 1

Error was fixed, .datamember does not exist within a datagridview object. Had to use a populated datatable as the source instead.

@theMediator, please what did you mean because I have the same problem with the same code so how did you correct it