asp.net中的Datagridviewcell

时间:2017-09-15 10:07:41

标签: asp.net vb.net web-applications

我想在Windows窗体中询问我们编写DataGridViewCell所以我们在Web上写的而不是DataGridViewCell

For Each row As GridViewRow In GridView1.Rows
        For Each celli As DataGridColumn In row.Cells
            Try
                pdfTable.AddCell(celli.Value.ToString())
            Catch
            End Try
        Next
    Next

1 个答案:

答案 0 :(得分:0)

您应该尝试DataGridColumn而不是DataGridViewCell