I currently have the following code which transforms the first letter of the surname to uppercase;
static string UppercaseFirst(string s)
{
if (string.IsNullOrEmpty(s))
{
return string.Empty;
}
char[] a = s.ToCharArray();
a[0] = char.ToUpper(a[0]);
return new string(a);
}
I now want to edit it so it changes all the letters in the surname to uppercase. Should be a simple one but my ascx.cs knowledge is dire! :) thanks