Comments on: DataGridView File Name Path Columns http://jrwren.wrenfam.com/blog/2007/09/21/datagridview-file-name-path-columns/ babblings of a computer loving fool Mon, 21 Nov 2016 19:37:12 +0000 hourly 1 https://wordpress.org/?v=4.7.2 By: Pablo Benítez http://jrwren.wrenfam.com/blog/2007/09/21/datagridview-file-name-path-columns/comment-page-1/#comment-30041 Thu, 29 Nov 2007 18:03:06 +0000 http://jrwren.wrenfam.com/blog/2007/09/21/datagridview-file-name-path-columns/#comment-30041 Just, what I was looking for.

]]>
By: Andrew Roberts http://jrwren.wrenfam.com/blog/2007/09/21/datagridview-file-name-path-columns/comment-page-1/#comment-30007 Wed, 14 Nov 2007 23:39:58 +0000 http://jrwren.wrenfam.com/blog/2007/09/21/datagridview-file-name-path-columns/#comment-30007 Hi,

I have tried using this code with limited success. I have a datagridview which is part of a form with a BindingNavigator in place. I change the data displayed in the DatagridView on each BindingSource_PositionChanged event with this code:

TableAdapter.FillByID(DataTable, ID);

The data is there fine. However, the buttons do not work correctly. They work on the Record 1 (unless I sort the DGV column), but all subsequent BindingSource records do not work. In PaintPrivate, RowIndex = -1 which does not make sense.

Can you help?

]]>