How can I databind a datagrid with a xmldatadocument?dgMain.DataSource = xmlDataDoc.DataSet<BR>dgMain.DataMember = xmlDataDoc.DataSet.Tables(0).TableName<BR>dgMain.DataBind()<BR><BR><BR>Whenever you create an XmlDataDocument a DataSet is automagically created and accessed via the DataSet property of the XmlDataDocument object.