I am creating window application basic. As i have created datagrid with 2 columns but when i apply datasource to datagrid and that datasource has 10 columns then datagrid shows 2+10 columns. How to disply only 2 columns from 10 columns list coming from database.
Please don't use: 1) Don't delete columns from datagrid one by one. 2) Don't delete columns from list coming from database one by one.