Low cost ecommerce web development India flash website design

Define an Insert Record server behavior


You’ll use a server behavior to create the necessary server scripts for the application. You’ll create a
connection between the form field data and the database data so that completing the form and
clicking the Submit button inserts the information into the database.
1 In the Server Behaviors panel (Window > Server Behaviors), click the plus (+) button and
choose Insert Record from the pop-up menu.
The Insert Record dialog box appears.

2 In the Data Source (ColdFusion) or Connection pop-up menu (other server page types),
choose connGlobal.

3 In the Insert Into Table pop-up menu, choose LOCATIONS.

The Columns list updates with information about how the form fields relate to the database fields.
4 Make sure REGION_ID’s value is set to Numeric or Integer (ASP.NET), since the Region ID
is a numeric value rather than a text value.
5 In After Inserting, Go To or On Success, Go To (ASP.NET), click Browse and in the dialog
box that appears select the LocationOK file, then click OK to close the dialog box.
6 Click OK to close the Insert Record dialog box.
In the Document window, the form updates and the Server Behaviors panel shows the Insert
Record behavior is added.
7 Save your document.

website designer freelance ASP PHP ecommerce web developer
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110