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 11:16:01
 
 
To
10/05/2004 10:34:02
Bill Benton
North Florida Software Services
Middleburg, Florida, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00902399
Message ID:
00902444
Views:
31
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,
Kendall Webb
Senior Software Engineer
MCAD.Net/MCSD.Net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform