Rickzzz
asked on
VB.Net var in href link
Trying to stuff a vb var into an href link and no dice.
this works fine as there is a value:
<td class="text_cell">
<%=urlPass %>
</td>
This does not (cell is blank).
<td class="text_cell">
<a href="<%=urlPass %>"</a>
</td>
Is it just the syntax or? Thanks!!
this works fine as there is a value:
<td class="text_cell">
<%=urlPass %>
</td>
This does not (cell is blank).
<td class="text_cell">
<a href="<%=urlPass %>"</a>
</td>
Is it just the syntax or? Thanks!!
change the (") to (')
ASKER
thanks, but still no good using:
<td class="text_cell">
<a href='<%=urlPass %>'</a>
</td>
<td class="text_cell">
<a href='<%=urlPass %>'</a>
</td>
try this
<td class="text_cell">
<a href='<%=urlPass %>'/>
</td>
<td class="text_cell">
<a href='<%=urlPass %>'/>
</td>
ASKER
still no:
<td class="text_cell">
<a href='<%=urlPass %>'/>
</td>
The end game is to populate a cell with a link (URL) that's pulled from a sql query, the value in urlPass. Should I go another route?
<td class="text_cell">
<a href='<%=urlPass %>'/>
</td>
The end game is to populate a cell with a link (URL) that's pulled from a sql query, the value in urlPass. Should I go another route?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.