Last post Jan 05, 2012 01:27 PM by matty1491
Jan 05, 2012 12:26 PM|matty1491|LINK
I have this error, below is a link to the screenshot of the error.
If you need anymore code, please ask! Thanks!
Jan 05, 2012 12:54 PM|pratik_galoria|LINK
lblError.Text = "Exception in DB Handler" + error.Message;
or if it doesn't help, please paster your code here..
Jan 05, 2012 01:15 PM|matty1491|LINK
Thanks for the suggestion, unfortunately, that generated the same error. Here is the code I used
Jan 05, 2012 01:20 PM|Anton Palyok|LINK
I guess error here at the "lblError.Text" part.
So lblError can be null.
Verify that this label is exists.
Or try to find it with method FindControl():
Jan 05, 2012 01:23 PM|MetalAsp.Net|LINK
Show your markup, and where lblError is.
Jan 05, 2012 01:27 PM|matty1491|LINK
Found the error now, there was an onclick which was getting in the way somehow.
Thanks for the help people! :)