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