using (TMPB_attn_DAL dalObj = new TMPB_attn_DAL()) { dataGridView1.DataSource = dalObj.GetRecords().Cast<TMPB_attn>().ToList(); dataGridView1.Refresh(); dataGridView1.Sort(dataGridView1.Columns["attn_id"],ListSortDirection.Descending); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)