Datagrid Problem

Kim

New member
Joined
Apr 18, 2005
Messages
3
Programming Experience
Beginner
Hi all,

I have a datagrid and i use paging. I have a button for deleting everything in the datagrid (so not one by one).
Now my problem is when i click the button my code is the following:

ForEach i As DataGridItem InMe.dataGridPcGegevens.Items
text = i.FindControl("TextNummer")
nummer = text.Text.ToString()
DefinitiefToevoegen(nummer)
Next i

The problem is only the things on the page that is selected are deleted. Now i want to know is it possible to do this code for all the pages in the datagrid?

Thx

Kim
 
Back
Top