Datagrid Paging

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:

For Each i As DataGridItem In Me.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
 
Hey Kim how did you get your datagrid to page, Cause I am stuck here with mine, I have a previous question in the forum to ask for help but no one is supplying any help, Can you Show me some code to how you got your paging to work??
 
Back
Top