Column Alias
Aliases are the temporary names given to column for the purpose of a particular query. It is used when name of column is used other than their original names, but the modified name is only temporary.
e.g The column for age may have the title User Age with the alias of Age

//set alias for columns
_dataGridView.SetColumnAlias("User Age", "Age");
//or
colAge.SetColumnAlias("Age");
//Bind the list to datagrid view
_dataGridView.Bind(usersList);

Last updated
Was this helpful?