How should Xavier rewrite the second line of code to correct the errors in that line?

Xavier wrote the following ASP code to generate HTML:
<%
For i=0 to rs.Fields.Count 1
Response,Write(<td>)
S=Trim(cStr(rs,Fields (i).Name & ))
Response,Write(<b>” & S & “</b>)

Response,Write(</td>)
Next
%>
When he executes the code, the table does not look correct. How should Xavier rewrite the
second line of code to correct the errors in that line?

Xavier wrote the following ASP code to generate HTML:
<%
For i=0 to rs.Fields.Count 1
Response,Write(<td>)
S=Trim(cStr(rs,Fields (i).Name & ))
Response,Write(<b>” & S & “</b>)

Response,Write(</td>)
Next
%>
When he executes the code, the table does not look correct. How should Xavier rewrite the
second line of code to correct the errors in that line?

A.
Response.Write(td)

B.
Response,Write(“<td>”)

C.
Response.Write(“<td>”)

D.
Response.Write(<td>)



Leave a Reply 0

Your email address will not be published. Required fields are marked *