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> <% 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.
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> <% 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.