Operator '&' is not defined for string

Joined
Apr 5, 2007
Messages
3
Reaction score
0
I'm converting an old ASP page over to ASP.net. I get the following error:

Operator '&' is not defined for string "-- Comments: <b>" and type 'Field'

it errors on the following section of code:

<tr>
<td>A-Mill will be on -</td>
<td><b><% Response.write(oRS("a_mill")) %></b></td>
<td> - Shift</td>
<td>&nbsp;&nbsp;<% Response.write("-- Comments: <b>" & oRS("a_mill_comments")) %></B></td>
</tr>

oRS is a recordset which contains a char value from an MSSQL database. I'm not very familiar at all with ASP.NET so any help here would be appreciated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top