I have a (Devexpress) Datagrid-Control, which contains 3 columns of information. The names of the columns are generated automatically, each line describes one object of those:
private string fName;
private bool fCheck;
private DateTime fDate;
public bool checked
{
get { return this.fCheck; }
set { this.fCheck = value; }
}
public string fileName
{
get { return this.fName; }
set { this.fName = value; }
}
public DateTime createDate
{
get { return this.fDate; }
set { this.fDate = value; }
}
These Objects are saved in a List<> (dataSource):
gridFiles.DataSource = dataSource;
gridFiles.MainView.PopulateColumns();
Now, the names of the Columns are "checked","fileName" & "createDate". How can I change those?