re:Help! Operation is not allowed in this context.
From: ronaldlee (leeronald1982_at_yahoo-dot-com.no-spam.invalid)
Date: 01/23/05
- Next message: Chris Taylor: "Re: SQL query... is there a better way?"
- Previous message: Jackie Goldstein: "Re: Select a range of Rows"
- In reply to: ronaldlee: "Help! Operation is not allowed in this context."
- Next in thread: Terri Morton: "Re: re:Help! Operation is not allowed in this context."
- Reply: Terri Morton: "Re: re:Help! Operation is not allowed in this context."
- Messages sorted by: [ date ] [ thread ]
Date: 23 Jan 2005 07:53:51 -0600
here is the code of 'DO SOMETHING'
objRS.Open("SELECT * FROM Customers WHERE CustomerID = " &
Session("CustomerID"), objConn)
%>
<div class="pageSectionHead">Billing
details</div>
<div class="pageSection">
<form name="details" action="default.aspx" method="post"
onSubmit="return check_billing();">
<input name="p" type="hidden" value="checkout" />
<input name="op" type="hidden" value="delivery" />
<table border="0" cellpadding="6" cellspacing="0"
class="tableGeneric">
<tr>
<td colspan="2"><p class="tableSection">Billing
address</p></td>
</tr>
<tr>
th width="25%" nowrap="nowrap">House name/number: <span
class="required">*</span></th>
<td><input type="text" name="billing_house"
value="<%=IIF(IsDBNull(objRS.Fields.Item("Customer_Address_Line1").Value),
Nothing, objRS.Fields.Item("Customer_Address_Line1").Value)%>"
size="30" maxlength="60" /></td>
</tr>
<tr>
<th width="25%" nowrap="nowrap">Street name:
<span class="required">*</span></th>
<td><input type="text" name="billing_street"
value="<%=IIF(IsDBNull(objRS.Fields.Item("Customer_Address_Line2").Value),
Nothing, objRS.Fields.Item("Customer_Address_Line2").Value)%>"
size="50" maxlength="50" /></td>
</tr>
<tr>
<th width="25%" nowrap="nowrap">Area
name:</th>
<td><input type="text" name="billing_area"
value="<%=IIF(IsDBNull(objRS.Fields.Item("Customer_Address_Line3").Value),
Nothing, objRS.Fields.Item("Customer_Address_Line3").Value)%>"
size="50" maxlength="50" /></td>
</tr>
<tr>
<th width="25%" nowrap="nowrap">City/Town:
<span class="required">*</span></th>
<td><input type="text" name="billing_town"
value="<%=IIF(IsDBNull(objRS.Fields.Item("Customer_Address_Line4").Value),
Nothing, objRS.Fields.Item("Customer_Address_Line4").Value)%>"
size="50" maxlength="50" /></td>
</tr>
<tr>
<th width="25%" nowrap="nowrap">County: <span
class="required">*</span></th>
<td><%
Response.Write(generate_county_list("billing_county",
objRS.Fields.Item("Customer_Address_Line5").Value,
0))%></td>
</tr>
<tr>
<th width="25%" nowrap="nowrap">Postcode:
<span class="required">*</span></th>
<td><input name="billing_postcode"
type="text"
value="<%=IIF(IsDBNull(objRS.Fields.Item("Customer_Address_Line6").Value),
Nothing, objRS.Fields.Item("Customer_Address_Line6").Value)%>"
size="10" maxlength="8" /></td>
</tr>
</table>
<%
objRS.Close()
*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*
- Next message: Chris Taylor: "Re: SQL query... is there a better way?"
- Previous message: Jackie Goldstein: "Re: Select a range of Rows"
- In reply to: ronaldlee: "Help! Operation is not allowed in this context."
- Next in thread: Terri Morton: "Re: re:Help! Operation is not allowed in this context."
- Reply: Terri Morton: "Re: re:Help! Operation is not allowed in this context."
- Messages sorted by: [ date ] [ thread ]