2 Replies Latest reply: Mar 4, 2012 8:06 AM by Bryan Gomez RSS

Help matrix numbering.

Bryan Gomez
Currently Being Moderated

Having problem with Matrix "#" Row numbering.

 

Here's my code.

 

            Dim oCell As Integer = 1
            Dim oCount As Integer = 0

            For Each oDR As Data.DataRow In oDT.Rows
                oCount += 1
            Next

            oMatrix = frmDelivery.Items.Item("39").Specific
            oMatrix.AddRow(oCount, oMatrix.RowCount - 1)
            For Each oDR As Data.DataRow In oDT.Rows
                oMatrix.Columns.Item("1").Cells.Item(oCell).Specific.Value = oDR.Item(1).ToString
                oMatrix.Columns.Item("5").Cells.Item(oCell).Specific.Value = oDR.Item(2).ToString
                oCell += 1
            Next

 

When I press Compute. The row of my matrix became. I use loop because of my details.

#

1

1

1

1

1

Actions