In my application, I have a DataGridView which it's data source varies depening ... Is this a WinForms project or an Asp.net one? If it's winforms you should be able ...
stackoverflow.com