OK...I'm having a "stupid" day. I understand what you are saying but I'm not sure how to fix it.
I have tried this, but I don't get anything in the grid. So I assume I'm not still not populating the table.
string fileName = "d:\\development\\pda\\dotnet\\arcusp.xml";
DataSet newDS = new DataSet();
DataTable newTable = new DataTable("arcusp");
newTable.Columns.Add("item", typeof(string));
newDS.Tables.Add("arcusp");
newDS.ReadXml(fileName, XmlReadMode.IgnoreSchema);
grdIntoStock.SetDataBinding(newDS,"arcusp");
Thanks again for the help
Alan
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only