Hi All,
I want to add function on my program, because now if my table is empty i hide the datagridview.
so if it is hidden or not hidden i want to do an action also.
what is the expression should i use to get what i want ?
i try .hide but its throwing an error. expression does not produce a value.
Code:Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick If dgvCell1_Muscatel_MPCA.Hide = False Then dgvCell1_Muscatel_MPCA.DataSource.clear() LoadAll() else msgbox("DAta grid view is hidden") End If End Sub




Reply With Quote
