【问题标题】:Print Data on Crystal Report using ChecBox DataGridView VB.Net使用 CheckBox DataGridView VB.Net 在 Crystal Report 上打印数据
【发布时间】:2018-12-05 14:59:53
【问题描述】:

请帮助我。如何使用 DataGridview 中的复选框打印到 Crystal Report ?所以模拟是当我检查在 DataGridview 中选择数据时。然后可以将其打印在 Crystal Report 上。我正在使用 Visual Studio 2013。

【问题讨论】:

    标签: sql-server vb.net crystal-reports


    【解决方案1】:

    使用:

    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
    

    【讨论】:

    • 所以我们假设新的数据库表我们称之为临时表来存储我们检查的数据。对吗?
    • @Moko 是的,你可以使用临时表。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多