print label multiple times based on value
for example i开发者_运维技巧f label count is 3 in database, the label should be printed 3 times in the report.
Don't try to do this in Crystal, do it on the back end (or an intermediate back end if you can't modify the one you have).
Explode each row with its label count into the number of rows you want in a temp table, or something, then build the report off that datasource.
i think you must not use label . use Row , Datagridrow to show ur data in crystal report .
For Each dr As DataGridViewRow In Me.dgvDefaultItem.Rows
dt.Rows.Add(dr.Cells("count").Value)
Next
精彩评论