ASP.NET String.Insert()
A super handy way to modify strings is the Insert() method. It comes in very handy when you are binding looped data to web controls with a populate method.
string yourString = “1000”;
string yourEuroString = yourString.Insert(0, “€”);
Now you can use yourString as the value parameter for a dropdown and yourEuroString as the text parameter.
Resource: dotnetperls.com
-
uproariouspu liked this
-
unenforceabl liked this
-
newshankypan liked this
-
gregorynicholas liked this
-
alanfeekery posted this
