I have a datagridview that is populated from a dataset.
The dataset came from a ReadXML command ... so I have something like the code below.
When I traverse the columns in dataset1.Tables["services"
], I can see the column called "service_id", however this column does not exist in the datagridview.
In addition I have another table - dataset1.Tables["reference
s"] - again this has two columns, service_id and member_id, again when I display this I do not see the columns.
And finally another table called "member" which has the column member_id.
I understand that these are generated by the ReadXML and maintain the integrity of the datatables and how they all link together, but I want to expose the values in the datagridview, and I can not work out what is turning off the fields.
DataSet dataset1 = new DataSet();
dataGridView1.DataSource = dataset1.Tables[tableName];