Hi,
I am having a problem getting an old ColdFusion program to a vb.net program. Its a distributor finder and I'm trying to take the existing code and move it into a vb.net enviroment. the problem is that I am almost there and this particular program has this code:
<body>
<tr>
<td colspan="17" align="center"><a href="default.aspx"><img src="images/Dominae-withPeerlessLogo.png" alt="Click here to return to the homepage and look for another distributor." border="0" /></a></td>
<td colspan="12">
</td>
<td colspan="5" align="right">
<a href="javascript:history.go(-1)"><img src="images/button-back2-small.png" border="0" alt="Click here to go to the previous page...." /></a>
</td>
</tr>
<form action="DisplayDistributors.aspx?MarketID=#URL.MarketID#&StateID=#URL.StateID#&DistributorCompanyID=999&DistAscOrDesc=Asc">
<input type="hidden" name="DistSortBy" value="Contact" />
<input type="submit" value="Contact" class="Sort-button" />
</form>
So my problem is in this section;
<form action="DisplayDistributors.aspx?MarketID=#URL.MarketID#&StateID=#URL.StateID#&DistributorCompanyID=999&DistAscOrDesc=Asc">
I keep on getting an error ( Element 'form' cannot be nested within element 'html')
So I'm thinking that I made a mistake transferring this code from Cold Fusion to vb.net. Can I fix this?
Thanks,
Kevin Tucker