|
Checkout: Get Customer Info
|
Previous Top Next |
| <%# "[EmailAddress] = '" + this.EmailAddress.Text + "'" %>
|
| <%# "[EmailAddress] = '" & Me.EmailAddress.Text & "'" %>
|
| CheckSQL="<%# "[EmailAddress] = '" + this.EmailAddress.Text + "'" %>"
|
| CheckSQL="<%# "[EmailAddress] = '" & Me.EmailAddress.Text & "'" %>"
|
| CheckSQL=<%# "[EmailAddress] = '" + this.EmailAddress.Text + "'" %>
|
| CheckSQL=<%# "[EmailAddress] = '" & Me.EmailAddress.Text & "'" %>
|
| C#
|
| <script runat="server">
|
| void WriteToDB1_RecordInserted(object sender, WebXelCart.RecordInsertedEventArgs e)
|
| {
|
| //code here
|
| }
|
| </script>
|
|
|
| VB
|
| <script runat="server">
|
| Sub WriteToDB1_RecordInserted(sender As Object, e As WebXelCart.RecordInsertedEventArgs)
|
| 'code here
|
| End Sub
|
| </script>
|
| C#
|
| <script runat="server">
|
| void WriteToDB1_RecordInserted(object sender, WebXelCart.RecordInsertedEventArgs e)
|
| {
|
| Cart1.Store(Request.Form);
|
| Cart1.CustomerID = e.Identity;
|
| Response.Redirect("summery.aspx");
|
| }
|
| </script>
|
|
|
| VB
|
| <script runat="server">
|
| Sub WriteToDB1_RecordInserted(sender As Object, e As WebXelCart.RecordInsertedEventArgs)
|
| Cart1.Store(Request.Form)
|
| Cart1.CustomerID = e.Identity
|
| Response.Redirect("summery.aspx")
|
| End Sub
|
| </script>
|
|
|
| C#
|
| <script runat="server">
|
| void WriteToDB1_RecordUpdated(object sender, WebXelCart.RecordUpdatedEventArgs e)
|
| {
|
| //code here
|
| }
|
| </script>
|
|
|
| VB
|
| <script runat="server">
|
| Sub WriteToDB1_RecordUpdated(sender As Object, e As WebXelCart.RecordUpdatedEventArgs)
|
| 'code here
|
| End Sub
|
| </script>
|
| C#
|
| <script runat="server">
|
| void WriteToDB1_RecordUpdated(object sender, WebXelCart.RecordUpdatedEventArgs e)
|
| {
|
| Cart1.Store(e.DataRow);
|
| Cart1.CustomerID = e.DataRow["CustomerID"];
|
| Response.Redirect("summery.aspx");
|
| }
|
| </script>
|
|
|
| VB
|
| <script runat="server">
|
| Sub WriteToDB1_RecordUpdated(sender As Object, e As WebXelCart.RecordUpdatedEventArgs)
|
| Cart1.Store(e.DataRow)
|
| Cart1.CustomerID = e.DataRow.Item("CustomerID")
|
| Response.Redirect("summery.aspx")
|
| End Sub
|
| </script>
|
| void Cart1_Load(object sender, System.EventArgs e)
|
| {
|
| if(!Page.IsPostBack)
|
| {
|
| this.FirstName.Text = Cart1["FirstName"];
|
| this.LastName.Text = Cart1["LastName"];
|
| this.EmailAddress.Text = Cart1["EmailAddress"];
|
| this.Address.Text = Cart1["Address"];
|
| }
|
| }
|
| Sub Cart1_Load(sender As Object, e As System.EventArgs)
|
| If Not Page.IsPostBack Then
|
| Me.FirstName.Text = Cart1.Item("FirstName")
|
| Me.LastName.Text = Cart1.Item("LastName")
|
| Me.EmailAddress.Text = Cart1.Item("EmailAddress")
|
| Me.Address.Text = Cart1.Item("Address")
|
| End If
|
| End Sub
|
| document.forms[0].Password.value = '<%= Cart1["LoginPass"] %>';
|
| document.forms[0].PasswordConfirm.value = '<%= Cart1["LoginPass"] %>';
|
| document.forms[0].Password.value = '<%= Cart1.Item("LoginPass") %>';
|
| document.forms[0].PasswordConfirm.value = '<%= Cart1.Item("LoginPass") %>';
|