Home > Net >  At the front desk on the ASP.NET web page code, how to NavigateUrl session attribute values and the
At the front desk on the ASP.NET web page code, how to NavigateUrl session attribute values and the

Time:12-04

At the front desk on the ASP.NET web page code, how to need to use the background of NavigateUrl attribute values when the Session value of ginseng, through & lt; %=% & gt; The joining together of tags for NavigateUrl attribute values of string?

Such as:



The action as the QueryString pass and you need to call the Session [" ArtID "] such a Session value, & lt; %=Session [" ArtID "] % & gt; How should the string with NavigateUrl attribute value for Mosaic?

CodePudding user response:

Don't remember how long used.net controls...
Front end to write directly in not? Can't write in the background?

CodePudding user response:

Use the Eval expressions,

The Eval (" ~/Focus. Aspx? Action="+ Session [" ArtID"])

CodePudding user response:

 
Pay attention to my & lt;/asp: HyperLink>

It's not ok
  • Related