C
C#2y ago
EliasGPS

✅ ASP.NET CORE Razer View

i'm looping through a list and i want a path to an image.
15 Replies
EliasGPS
EliasGPSOP2y ago
so the pad is images/flags/5.png for example
EliasGPS
EliasGPSOP2y ago
EliasGPS
EliasGPSOP2y ago
i want it like this but it doesn't work is there a way to fix this?
Angius
Angius2y ago
@(countryNumber).png
EliasGPS
EliasGPSOP2y ago
EliasGPS
EliasGPSOP2y ago
desn't work
Angius
Angius2y ago
I guess try src="@($"images/flags/{countryNumber}.png")"?
TheRanger
TheRanger2y ago
it should work, how did u write the code?
EliasGPS
EliasGPSOP2y ago
EliasGPS
EliasGPSOP2y ago
that also does not work
Angius
Angius2y ago
Well It would've worked if you did what I said You didn't, so... it doesn't work
TheRanger
TheRanger2y ago
u did it wrong
EliasGPS
EliasGPSOP2y ago
bruh lol i see jep worked thx solved /solved
Angius
Angius2y ago
/close
EliasGPS
EliasGPSOP2y ago
ahh
Want results from more Discord servers?
Add your server