Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to: Refer to the values from a column
Message
From
10/05/2004 13:09:08
Bill Benton
North Florida Software Services
Middleburg, Florida, United States
 
 
To
10/05/2004 11:16:01
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00902399
Message ID:
00902503
Views:
27
I am now experiencing this error on the first replacement "[NullReferenceException: Object reference not set to an instance of an object.]"

I am trying this :

drPMRLog["PMRLog.Title"] = ComboBox.Text

It did, however, add the new row.




>Bill,
>
>>What I am trying to do is populate/insert a buch of data gleaned from combo boxes and two text boxes into a new record. I miss the good ole SQLEXEC() functionality, or even the APPEND BLANK and REPLACE functionality.
>
>
>
>Try this, add a new row to the dataset using the BO NewRow method. Then get a reference to the added row to update values.
>
>
>// add a new row
>this.oBO.NewRow();
>
>// get a reference to the new row
>DatRow DR = this.oBO.DataRow;
>
>// populate a column in the row with data
>DR["columnname"] = "somevalue";
>
>
>If this doesn't work, report back to us and we can go from there.
>
>hth,
Bill Benton
Senior Systems Analyst
Nuvell Financial Services
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform