P
Paul Perot
Hi All:
I am populating a Data Table with File/Folder information from my drive... I
am then binding this data table to a DataGrid. Due to the size of the
DataGrid data, I use the built in paging. All of this seems to work just
fine. In certain circumstances I need to programically change one of the
data column values from true to false or from false to true... To do this, I
read in each datagriditem in the datagrid.items collection to a new Data
Table ... making the changes as I do and then rebind the datagrid to the
newly created datatable. This is where I am having my problem. If I do not
use the built in paging it works fine...If I do use the built in paging...I
can only read in the items that appear on the specific page that is being
displayed. This is a code snippet that I use:
Dim item As DataGridItem
For Each item In dgList.Items
i = i + 1
Next
What am I doing wrong here? Do you have suggestions on a better way to do
this?? TIA
--
Best regards
Paul Perot
President
Perot Solutions
(e-mail address removed)
(770) 565 - 9151
(678) 852 - 7789 (c)
I am populating a Data Table with File/Folder information from my drive... I
am then binding this data table to a DataGrid. Due to the size of the
DataGrid data, I use the built in paging. All of this seems to work just
fine. In certain circumstances I need to programically change one of the
data column values from true to false or from false to true... To do this, I
read in each datagriditem in the datagrid.items collection to a new Data
Table ... making the changes as I do and then rebind the datagrid to the
newly created datatable. This is where I am having my problem. If I do not
use the built in paging it works fine...If I do use the built in paging...I
can only read in the items that appear on the specific page that is being
displayed. This is a code snippet that I use:
Dim item As DataGridItem
For Each item In dgList.Items
i = i + 1
Next
What am I doing wrong here? Do you have suggestions on a better way to do
this?? TIA
--
Best regards
Paul Perot
President
Perot Solutions
(e-mail address removed)
(770) 565 - 9151
(678) 852 - 7789 (c)