I created a subroutine that inserts data from controls into a sql database. I've done this a million times in the past, and never had this problem.
Now i'm getting a 'Object reference not set to an instance of an object' error when I call the subroutine to a button click on my webform.
Its something in the sub, because when i take the sub out and throw a label1.text="Anything" it works.
I'm kinda noobishI can post code or my stack trace if needed
Thanks for your help!!!![]()




I can post code or my stack trace if needed
Reply With Quote