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
AL MUBARAK
NA
96
68.7k
System.NullReferenceException: Object reference not set to an instance of an object.
May 7 2012 4:37 AM
Hi,
i had bug in getting dataset value from databse. but the corresponsing value is in null. so it is returns Null value in dataset. it return the expection and sows the error of like below,
System.NullReferenceException: Object reference not set to an instance of an object.
Here is my code :
DataSet ds = service.GetDataSet("sp_smsinbox", "@action$#!@$@substr", "count$#!@$" + substr);
The substr get the values from application and fetch into dataset. but the dataset had null value, then it redirectd the error.
page.
Can anyone please help me to achieve this.
Any help will be greatly appreciated.
Thanks
Mubarak
Reply
Answers (
10
)
How to Handle TextBox Click Out Event
How to create table in pervasive database using .net programming (Using Windows Application)