We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

getting object reference not set to an instance of an object

Thread ID:

Created:

Updated:

Platform:

Replies:

33599 Aug 23,2005 06:28 AM Aug 25,2005 09:37 PM ASP.NET Web Forms (Classic) 1
loading
Tags: FAQ
sunanda
Asked On August 23, 2005 06:28 AM

i''m getting object reference not set to an instance of an object when i''m uploading a file in server.when i''m clicking the upload button using If txtFile.PostedFile.FileName = Nothing Then even i selected the file using browse button i''m getting error

bunchhel
Replied On August 25, 2005 09:37 PM

Hi sunanda, It should be: If txtFile.PostedFile = Nothing

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;