M
Martin Arvidsson, Visual Systems AB
Hi all you gurus out there I am not sure i am posting this in the correct
NG. But i will give it a go.
I have a as you see from the snippet below, a datagrid, i have a daset that
i fill with data.
the data is not collected from a database but from the GetFiles method.
Now, the column names are not changed for somehow, but remains as the
fieldnames in the DataSet? How to change this behaviour?
Also, links to datagridview management would be higly appreciated
dataGridView1.DataMember = DataSetUnusedFiles.Tables[0].TableName;
dataGridView1.DataSource = DataSetUnusedFiles;
dataGridView1.Columns[0].Name = "Delete";
dataGridView1.Columns[1].Name = "Filename";
dataGridView1.Columns[2].Name = "Location";
Regards
Martin
NG. But i will give it a go.
I have a as you see from the snippet below, a datagrid, i have a daset that
i fill with data.
the data is not collected from a database but from the GetFiles method.
Now, the column names are not changed for somehow, but remains as the
fieldnames in the DataSet? How to change this behaviour?
Also, links to datagridview management would be higly appreciated
dataGridView1.DataMember = DataSetUnusedFiles.Tables[0].TableName;
dataGridView1.DataSource = DataSetUnusedFiles;
dataGridView1.Columns[0].Name = "Delete";
dataGridView1.Columns[1].Name = "Filename";
dataGridView1.Columns[2].Name = "Location";
Regards
Martin