I know I have done this before but I can\'t seem to remember where or how.
I want to create a link to an Item in Sitecore. This code:
Sitecore.Data.Items
Try this
aspx.cs
Sitecore.Data.Items.Item itm = Sitecore.Context.Database.GetItem("/sitecore/content/Home"); hlItem.Navigateurl =sitecore.links.linkmanager.getitemurl(itm);