Originally Posted by
webopius
Hi Donato,
I'm going to guess that you are using v8. If you are using v9, let me know. Use the 'Phone' field as a guide but of course you'll call your on-screen field something else. In this example, I'll use 'CustCD' which you'll need to make an onscreen text field in account.aspx (I think you've done this).
- To populate the CustCD field:
In account.aspx.cs, in the Page_Load() method, just below the line ' Phone.Text = ThisCustomer.Phone;' at approx line 112, insert:
CustCD.Text = ThisCustomer.ExtensionData;
- To update the Customer record with the contents of CustCD:
In account.aspx.cs, in the btnUpdateAccount() method, change this line at approx line 231:
/*ExtensionData*/ null,
To this:
/*ExtensionData*/ CustCD.Text,
That's it.