make updatable fields - DataForm.NET Sample

This example shows how to make a field updatable or not. In some scenarios, some fields on the screen are not supposed to be inserted or updated. In this example, Ship City field is set to read only and can not be updated.

Pick a Theme:

Orders 
 CustomerID AscendingEmployeeIDOrderDateOrderIDRequiredDate  
ALFKI68/25/1997106439/22/1997
ALFKI410/13/19971070211/24/1997
ALFKI11/15/1998108352/12/1998
ALFKI13/16/1998109524/27/1998
ALFKI34/9/1998110115/7/1998
ANATR43/4/1998109264/1/1998
ANATR311/28/19971075912/26/1997
ANATR38/8/1997106259/5/1997
ANATR79/18/19961030810/16/1996
ANTON311/27/19961036512/25/1996
1 - 10 / 829 RecordsPage / 83 

  Design   Source  
  1. Open DataForm.NET Manager. In DataForm.NET List page, choose Order Details by clicking the link.
  2. In the DataForm.NET Designer on the right hand side, the default tab is DataForm tab.
  3. Click Orders link to bring up a DataForm Field Designer window. Checking off the Can Update checkbox will make current field not updatable. If this field is not supposed to  be inserted to database, check off the Can Insert checkbox as well.
  • Click HERE to open up a READ ONLY DataForm.NET Manager.
  • Click HERE to try for yourself.