DataGrid in VB.NET

  • Thread starter Thread starter dsmigelski
  • Start date Start date
D

dsmigelski

I have a datagrid that I am populating, and on my tab and I have a
select/Deselect all checkboxes. The only column in my grid that is
readable is the first column and it is a bit field displaying
checkboxes. I want to cycle through and select/deselect the datagrid
items based on either the Select/Deselect checkboxes on the form.
 
Hi derek
i got that you want to change that status of a specific column inside
rows of your data gird , why don't you make a loop that loops through the
items of your datagrid.... for example
for (int k =o ; k<
this.DataGrid1.Items.Count;k++){

DataRow temp =
this.DataGrid1.Items[k]// then you can change values inside the datarow
that referece your item inside the //data grid

}
-- i hope that would address your proplem
 
Back
Top