p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Beginning ASP.NET 2.0 and Databases (http://p2p.wrox.com/forumdisplay.php?f=276)
-   -   Ch05: TIO-0503-HyperlinkTarget.aspx (http://p2p.wrox.com/showthread.php?t=58746)

dogrady June 5th, 2007 03:57 PM

Ch05: TIO-0503-HyperlinkTarget.aspx
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:


(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

dom2q April 17th, 2008 03:52 AM

<% should be <%= in your code.

All times are GMT -4. The time now is 07:10 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.