By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,448 Members | 1,412 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,448 IT Pros & Developers. It's quick & easy.

URGENT Help in Updating records in c#.NET using Access Database.

P: n/a
My table name is projectDetails.
Primary keys : AirportID,ProjectId,PhaseID,SequenceID
Fields : Name

I am trying to find a specific row and update the value of that row
by the following command.

DataSet1.ProjectDetailsRow r =
dataSet11.ProjectDetails.FindByAirportIDProjectIDS equenceIDPhaseID
("MSP",1,1,1);
r.name = "something";

When I run this at r.name = "something" , it gives me NullPointer exeption

Thanks in advance

--
Message posted via http://www.dotnetmonster.com
Nov 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
keerthi kamalapuri via DotNetMonster.com wrote:
My table name is projectDetails.
Primary keys : AirportID,ProjectId,PhaseID,SequenceID
Fields : Name

I am trying to find a specific row and update the value of that row
by the following command.

DataSet1.ProjectDetailsRow r =
dataSet11.ProjectDetails.FindByAirportIDProjectIDS equenceIDPhaseID
("MSP",1,1,1);
r.name = "something";

When I run this at r.name = "something" , it gives me NullPointer exeption

Thanks in advance


Did you check the method actually succeed before assign r.name =
"something"?
Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.