Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jul 11, 2011 08:42 AM by aspnet1071
All-Star
154955 Points
19872 Posts
Moderator
MVP
Jul 11, 2011 04:51 AM|LINK
That's not how you should use PageData. UrlData is accessible to left.cshtml so
var data = db.QueryValue("SELECT ......... WHERE id=@0",UrlData[1]);
will work. This information isn't visitor specific. It's request specific.
Member
64 Points
35 Posts
Jul 11, 2011 08:42 AM|LINK
page in the process of calling a helper, and there are 1 function. they also use in
Mikesdotnett...
All-Star
154955 Points
19872 Posts
Moderator
MVP
Re: PageData or Page
Jul 11, 2011 04:51 AM|LINK
That's not how you should use PageData. UrlData is accessible to left.cshtml so
var data = db.QueryValue("SELECT ......... WHERE id=@0",UrlData[1]);will work. This information isn't visitor specific. It's request specific.
Beginning ASP.NET Web Pages with WebMatrix | My Site | Twitter
aspnet1071
Member
64 Points
35 Posts
Re: PageData or Page
Jul 11, 2011 08:42 AM|LINK
page in the process of calling a helper, and there are 1 function. they also use in