Subject: Ch05: TIO-0503-HyperlinkTarget.aspx
Posted By: dogrady Post Date: 6/5/2007 3:57:30 PM
Got to this point but now have an error I can't unravel.
I have compared my code to the supplied and it's the same - but no go. When I click the link I get this URL, and this error:

http://localhost:1447/Websites/BegAspNet2Db/ch05/TIO-0503-HyperlinkTarget.aspx?ID=1&FirstName=Nancy&LastName=Davolio

(I include the above URL b/c I can get to the rest of the pages at that path, so the path itself is fine).

Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30545: Property access must assign to the property or use its value.

Source Error:
Line 16:     <h2>
Line 17:     Details for Employee
Line 18:     <% Request.QueryString("ID")%> :
Line 19:     <% Request.QueryString("FirstName")%>
Line 20:     <% Request.QueryString("LastName")%>
Source File: C:\Websites\BegAspNet2Db\ch05\TIO-0503-HyperlinkTarget.aspx    Line: 18
Reply By: dom2q Reply Date: 4/17/2008 3:52:56 AM
<% should be <%= in your code.




Go to topic 70634

Return to index page 1