Protected Sub ButtonAdd_Click(sender As Object, e As EventArgs) a = a + 1 If a <= 8 Then AddNewRow() Else lblmsg.Text = " You can set only 8 Objectives" End If End Sub
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)