Object reference not set to an instance of an object.
I have a control on my form called cbocontact.
I call cbocontact.selecteditem.text and I get this wierd error. I have other cbos that I use on this for the same exact way and get no errors. It is wierd. If I change the name I get the usually code corrections. Then I change the name back to its original and the code errors or underlines are still there like the object doesnt exist. I tried deleting it and recreating it but It still causes the same error. Has anyone ever had this? Please Help!
I have a control on my form called cbocontact.
I call cbocontact.selecteditem.text and I get this wierd error. I have other cbos that I use on this for the same exact way and get no errors. It is wierd. If I change the name I get the usually code corrections. Then I change the name back to its original and the code errors or underlines are still there like the object doesnt exist. I tried deleting it and recreating it but It still causes the same error. Has anyone ever had this? Please Help!