Dear all,
I'm getting the above error when I added a new button in my form. I copy paste the same code like other button to load the form. Unfortunately, it is throwing the error. The code is:
Can u explain why I'm getting the error
Thanks
I'm getting the above error when I added a new button in my form. I copy paste the same code like other button to load the form. Unfortunately, it is throwing the error. The code is:
The error is pointing to m_HeadId but it doesn't throw any error for other button. The error is no more if I remove the parameter but I need to pass the parameter. m_HeadId is declared as Integer.If RefreshForm(New frmModify(m_HeadId)) = DialogResult.OK Then Refresh()
Can u explain why I'm getting the error
Thanks