I am binding an array to a DataGridView. I have a column containing file paths which maps to a column of push buttons. I would like to pre-process the file path so that the DataGridViewButtonColumn displays only the file name (sans the parent folders).
How do I intercept and pre-process values before they are bound to the columns of a DataGridView?
(I have seen something like this in ASP.NET data binding and was hoping I could do the same here.)