Hi all,
I'm trying to place a value into either a hidden field or a text box with a value.
The value can come from either a querystring or if the querystring is empty - then from a recordset.
<input type="text" name="txtModelNumber" class="inputbox" Value="<%If request.Querystring("ModelName"
<> "" Then Response.Write("<Request.Querystring('ModelName')>"
Else
response.write("<%=rsModel.Fields.Item("ModelName"
.Value%>"
End If
%>">
I Cant seem to get the proper order of quotation marks, or I dont know what.
Any ideas? "Damn the torpedoes, full speed ahead!"
-Adm. James Farragut
Stuart
I'm trying to place a value into either a hidden field or a text box with a value.
The value can come from either a querystring or if the querystring is empty - then from a recordset.
<input type="text" name="txtModelNumber" class="inputbox" Value="<%If request.Querystring("ModelName"
Else
response.write("<%=rsModel.Fields.Item("ModelName"
End If
%>">
I Cant seem to get the proper order of quotation marks, or I dont know what.
Any ideas? "Damn the torpedoes, full speed ahead!"
-Adm. James Farragut
Stuart