Using Visual Studio 2022 with .Net Framework 4.8 for an Asp.Net website
I'm attempting to directly read a simple multi-line text file into the .Text property of a label, but everything is just clumped together.
I have tried so many different things I've found in my searches and nothing seems to be working.Code:LblImgInfo.Text = File.ReadAllText(Server.MapPath("~/FILES/" & Session("FileName") & "/ImageInfo1.txt")).Replace("\n", "<br />")




Reply With Quote
