Tuesday, March 6, 2012

Orders: Removing Data Fields

When creating a new order, the fields ShippedDate, ShipVia, and Freight are not known. Let’s remove these fields from the createForm1 view.

Switch back to the Designer, and expand Order Form / dv100 / createForm1 / c1 – New Orders node. Delete the fields ShippedDate, ShipVia, and Freight by right-clicking and pressing Delete option in the context menu.

Deleting Freight from Order Form in Code On Time Designer

Press Generate and wait for the application to load. If you create a new order using the Order Form, you will see that the data fields have been removed.

Shorter Order Form page in Code On Time Preview

No comments:

You can find more about Code OnTime Generator, Data Aquarium Framework, and other great products here.


© 2010 Code OnTime LLC. Intelligent code generation software for ASP.NET. Visit us at http://codeontime.com