Login    
 
 
 
 
Text/HTML
  
You are here :: Blogs Saturday, May 19, 2012

Search
Note: This uses the internal blog search engine. The Google search engine is also available at the top of the page.
  
Disclaimer

Please review the site disclaimer before downloading or using content found on this site

  
Categories
  
DEVSHED Blog
As always, I welcome your comments!
May 24

Written by: Steve Gray
5/24/2010 12:32 PM  RssIcon

Here’s a snippet of code that will loop through the rows in a ComponentArt grid

 

    Protected Sub btnOK_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnOK.Click
        Dim strItemNumber As String
        Dim intRowID As Int64
        Dim dblQuantity As Double
        Dim txtQuantity As TextBox
        For Each item As ComponentArt.Web.UI.GridItem In Me.Grid1.Items
            txtQuantity = CType(Grid1.FindControl(0, 4, item, "txtQuantity"), TextBox)
            strItemNumber = item("itemnmbr")
            intRowID = item("dex_row_id")
            dblQuantity = item("quantity")
        Next
    End Sub

Tags:
Categories:
As always, I welcome your comments!
  
 
 
Home | Products | Blogs | Contact Us | Links | God's Plan
Privacy Statement | Terms Of Use
 
Copyright 2011 by Devshed.us