I have added a reference to Microsoft.VisualBasic and a using statement but still get an error calling the Left function: eg)
string s = e.Row.Cells[3].Text;
e.Row.Cells[3].Text = Left(s, 10);
"The name 'Left' does not exist in the current context".
Also tried Strings.Left and Microsoft.VisualBasic.Left and Microsoft.VisualBasic.Strings.Left...
Any other ways to do this in C#?