品吸la punta:DataGridViewButtonColumn的Click事件怎样触发

来源:百度文库 编辑:高校问答 时间:2024/05/12 01:03:40

If DataGridView1.Columns(DataGrid.ColumnIndex).Name = _
"xiaolinhai" Then
MessageBox.Show("您选择了" & _
DataGridView1.Rows(DataGrid.RowIndex). _
Cells("CustomerID").Value)
End If
他的click事件是不分列的,只能自己检测一下点的是哪列