- Joined
- Apr 29, 2008
- Messages
- 6
- Reaction score
- 0
BindingSource bs = new BindingSource();
BindingList<Customer> bList = new BindingList<Customer>();
IList<Customer> results = dbMan.GetCustomer();
foreach (Customer cust in results)
{
bList.Add(cust);
}
bs.DataSource = bList;
dataGridView1.DataSource = bs;
Is there a way to show the datagrid of customers with only the columns i need to show? Please help is importand!!!!!!!!
BindingList<Customer> bList = new BindingList<Customer>();
IList<Customer> results = dbMan.GetCustomer();
foreach (Customer cust in results)
{
bList.Add(cust);
}
bs.DataSource = bList;
dataGridView1.DataSource = bs;
Is there a way to show the datagrid of customers with only the columns i need to show? Please help is importand!!!!!!!!