shanbhog 0 Newbie Poster

hi all..

am a student doin a project in vb .net.. i ned some help..
i ve a datagrid view and in that the 1st column is accept(checkbox) and 2nd is reject(checkbox)..
depending on wat the user checks i ve to update my database.
i ve to loop each row and find whether the checkbox is checked or not.. how should i go about it..?

my if loop to check is like this..
CBool(DataGridView1.Rows(cnt).Cells(0).Value) = True

is this the right approach..

thanks....

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.