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
Mahesh Gore
NA
1
873
object reference not set to an instance of an object. in c#
Jul 24 2015 6:16 AM
next line is in connection.cs file=
public
OleDbDataReader
dr;
and this is in form.cs file
oleDbCommand.Connection = connection.Conn;
connection.dr = oleDbCommand.ExecuteReader();
i got exception =
object reference not set to an instance of an object. in c#
Reply
Answers (
2
)
I have 2 object of same class as following in c#.
Oops Concepts in C#