gsc123
Programmer
- Jan 24, 2008
- 197
Hi
Anyone see why my link created is not a proper link, cant see wood for the trees
do until rstemp.eof
for i = 0 to rstemp.fields.count - 1
v=rstemp(i)
if isnull(v) then v = " "
id = rstemp(0)
select case i
case 0
str = "<td><font face='Verdana, Arial, Helvetica, sans-serif' size='1'><a href='pt_viewitem.asp?idproduct="&id&">" + CStr(v) + "</td><td><font face='Verdana, Arial, Helvetica, sans-serif' size='1'>" + CStr(v) + "</a></font></td>"
case else
str = "<td><font face='Verdana, Arial, Helvetica, sans-serif' size='1'>" + CStr(v) + "</td>"
end select
if i = 3 then
Response.Write str
str = "</tr><tr>"
end if
Response.Write str
Next
rstemp.MoveNext
loop
Anyone see why my link created is not a proper link, cant see wood for the trees
do until rstemp.eof
for i = 0 to rstemp.fields.count - 1
v=rstemp(i)
if isnull(v) then v = " "
id = rstemp(0)
select case i
case 0
str = "<td><font face='Verdana, Arial, Helvetica, sans-serif' size='1'><a href='pt_viewitem.asp?idproduct="&id&">" + CStr(v) + "</td><td><font face='Verdana, Arial, Helvetica, sans-serif' size='1'>" + CStr(v) + "</a></font></td>"
case else
str = "<td><font face='Verdana, Arial, Helvetica, sans-serif' size='1'>" + CStr(v) + "</td>"
end select
if i = 3 then
Response.Write str
str = "</tr><tr>"
end if
Response.Write str
Next
rstemp.MoveNext
loop