Basically if I want to transform a name from

stephen smith

to

Stephen Smith

I can easily do it with come CSS on the page, but ideally I would like to catch it earlier on and change it when it comes out of the database. How can I get C# to capitalise a string?

Is there a function for this?

Edit
Report