TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
sowjanya bommithi
NA
14
3.1k
how to handle null value while getting image in asp.net
Nov 5 2016 1:19 AM
Session["EmpPhoto"] = dsUser.Tables[0].Rows[0]["EmpPhoto"].ToString();
imageUser.ImageUrl = Session["Photo"].ToString();//here i am getting error
i have to show username and userphoto after he logged into the site. but for a particular user i dont have image so i am getting error" Object reference not set to an instance of an object.
"
Reply
Answers (
3
)
I'm using Gridview for Delete recorde but i have show error
How to upload multiple images at once in DB by using Asp.net