Devastorian
Displaying Images in .NET application, that are out of project folder.
Trying to display an image, which is out of a root folder on my desktop. I am using src="@Url.Content()" to display the image, the ones that are in my root folder works just fine, but the ones that are on my desktop do not, the path is being changed inside the app, so it can fit the users needs.
<img src="@Url.Content("C:/SP00000014000.png")" onerror="this.onerror=null;
this.src='@Url.Content("~/img/stockImg.png")'" width="164" height="164" alt="...">
This is inside my cshtml file.20 replies
ASP.NET CRUD MODAL
I created a MVC controller with actions (CRUD) and I would like to know, how to modify this pre generated code, so I can do CRUD in popup modal. I know, that I should probably use PartialView, but that is where my knowledge ends. Fairly new, so please try to make it sound as noobie friendly as possible. Thanks.
3 replies
✅ How can I read and edit .XLSX files in C# (WPF)
I am in need of creating a desktop application, where I can see and interact with excel data, cant use database, because it needs to run offline. What are the best libraries I can use? This is my pilot project, starting with C#, I have a good understanding of Excel VBA, if there is something similar to EVBA, that would be helpful. Thanks.
90 replies