Answer
Ove
rf
low
Sign In With Discord
C#
help
Join
Root Question Message
EliasGPS
2/27/2023
✅ ASP.NET CORE Razer View
i'm looping through a list and i want a path to an image.
EliasGPS
2/27/2023
so the pad is images/flags/5.png for example
EliasGPS
2/27/2023
EliasGPS
2/27/2023
i want it like this but it doesn't work
EliasGPS
2/27/2023
is there a way to fix this?
Angius
2/27/2023
@(countryNumber).png
EliasGPS
2/27/2023
EliasGPS
2/27/2023
desn't work
Angius
2/27/2023
I guess try
src="@($"images/flags/{countryNumber}.png")"
?
TheRanger
2/27/2023
it should work, how did u write the code?
EliasGPS
2/27/2023
EliasGPS
2/27/2023
that also does not work
Angius
2/27/2023
Well
Angius
2/27/2023
It would've worked if you did what I said
Angius
2/27/2023
You didn't, so... it doesn't work
TheRanger
2/27/2023
u did it wrong
EliasGPS
2/27/2023
bruh
EliasGPS
2/27/2023
lol
EliasGPS
2/27/2023
i see
EliasGPS
2/27/2023
jep worked thx
EliasGPS
2/27/2023
solved
EliasGPS
2/27/2023
/solved
Angius
2/27/2023
/close
EliasGPS
2/27/2023
ahh
Contact
Frequently Asked Questions
Join The Discord
Bugs & Feature Requests
Terms & Privacy