请帮助我。如何使用DataGridview中的复选框打印到Crystal Report?因此,模拟就是我检查选择DataGridview中的数据时的情况。然后可以将其打印在Crystal Report上。我正在使用Visual Studio 2013。
答案 0 :(得分:0)
使用:
foreach row as DataGridViewRow in dataGridView1.Rows
If row.Cells("Checked").Value = True Then
'Copy checked rows to new database table and print it in Crystal Report.
End If
Next