新手求助-DataGridView问题
我是用一个 DataGridView显示多个DataSet.Tables(i)我用了
ExcelGrid=Nothing
ExcelGrid= New DataGridView
ExcelGrid.Name = "ExcelGrid"
ExcelGrid.DataSource = myds.Tables(0)
为什麼不能触发事件,求大神帮忙解决!
Private Sub ExcelGrid_RowPostPaint(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewRowPostPaintEventArgs) Handles ExcelGrid.RowPostPaint
MsgBox("OK")
End sub