How do you code a LinkButoon from the code behind in ASP.NET C#?

  • Thread starter Thread starter joe v
  • Start date Start date
J

joe v

Guest
SPAM WILL BE REPORTED!

Hi, I need to code LinkButtons from the code behind but

myLinkButton.PostBackUrl = "mySite\subfolder\thePage.aspx";

Shows up in the broswer as path/mySite//subfolder//thePage.aspx

Why is it adding the extra /?

I need a simple fix, thank you.
 
Back
Top