c# - how to Convert label.text to linklabel -


i fetching filenames in label text:

label1.text += filename+ environment.newline; 

i want convert these filenames hyperlinks(so when click on filename, file should open). how provide linklabel properties label ?

try this:

label1.text += "<a href="yourpath/"+ filename+ ">click this</a>"+environment.newline; 

Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -