sgray128 3/1/2012 10:23:33 PM

Telerik - How to iterate through a RadGrid

This short code sample shows how to iterate through a RadGrid

For Each oItem As GridDataItem In RadGrid1.Items
    'get items that are in bound columns
    Dim strItemNumber As String = oItem("itemnmbr").Text
    'get items that are in template columns
    Dim strPONumber As String = CType(oItem.FindControl("lblPONumber"), Label).Text