Object reference not set to an instance of an object (NullreferenceException was unhandled by user c

Posted by Phil on Stack Overflow See other posts from Stack Overflow or by Phil
Published on 2010-04-14T12:16:29Z Indexed on 2010/04/14 12:23 UTC
Read the original article Hit count: 309

How can I get around this exception?

Dim imagepathlit As Literal = DownloadsRepeater.FindControl("imagepathlit")
        imagepathlit.Text = imagepath

Thanks

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about syntax