Site Search:
Sign in | Join | Help

This Blog

Syndication

Tags

No tags have been created or used yet.

Archives

Datagrid

Iterate through an ASP.NET datagrid

Here's how to loop through an ASP.NET datagrid

Dim a As Int16
For a = 0 To Me.grdLines.Items.Count - 1
    'get a reference to the row id
    intDexRowID = CType(Me.grdLines.Items(a).FindControl("lblDexRowID"), Label).Text
Next

Comments

No Comments

Leave a Comment

(required)  
(optional)
(required)  
Add

About Steve Gray

Steve is a seasoned (translate: old) developer in VB and ASP.NET. He spends most of his time in Dynamics GP, writing custom mods for consulting firms. Crystal reports, eConnect, VS Tools for Dynamics... anything that comes along.