我在数据网格上创建了一个按钮列,点击:
Private Sub btnRemoveItem_Click(sender As Object, e As EventArgs) Handles btnRemoveItem.Click
Dim column As DataGridViewButtonColumn
grdNewInvoice.AutoGenerateColumns = False
column = New DataGridViewButtonColumn
grdNewInvoice.Columns.Add(column)
End Sub
我正在尝试访问列的属性以设置每行的颜色和文本。我怎么能这样做?