Skip to Content
0
Former Member
Apr 10, 2014 at 10:22 AM

how to fill current row in matrix

191 Views

hi all,

i want to data bind date to columns in matrix when choose item code in the first column give me the item name in the next row .

i try this code :

for (int i = 1; i <= Mat.RowCount; i++)
                             {
                                 int z = i + Mat.VisualRowCount - 1;
                                 oForm.DataSources.DBDataSources.Item("@CONS1").SetValue("U_ItemDes", z, ItemName);
                                 oForm.DataSources.DBDataSources.Item("@CONS1").SetValue("U_QtyOnDate", z, OnHand);
                              }