Link to home
Start Free TrialLog in
Avatar of keithwilson1
keithwilson1Flag for United States of America

asked on

Correct format of a HyperlinkField using ASP.Net 2.0

Could anyone give me the correct format of this HyperlinkField?

<asp:HyperLinkField  DataTextField="cntAssigned1"  HeaderText="cntAssigned1" NavigateUrl="CampusCourse.aspx?cNum=" + ("CourseNumber") + "&aId=" + ("AcademicLevelText") + "&s=1" + "&post=1" SortExpression="cntAssigned1" />
Avatar of SQL_SERVER_DBA
SQL_SERVER_DBA
Flag of United States of America image

Here is the basics....check out http://www.w3schools.com/aspnet/control_hyperlink.asp
thats where I found this example...


<html>
<body>

<form runat="server">
<asp:HyperLink
ImageUrl="/banners/w6.gif"
NavigateUrl="http://www.w3schools.com"
Text="Visit W3Schools!"
Target="_blank"
runat="server" />
</form>

</body>
</html>
ASKER CERTIFIED SOLUTION
Avatar of McExp
McExp
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Dustin Hopkins
Dustin Hopkins
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of keithwilson1

ASKER

Thank you so much.  You are true artists of this technology.