User = TextBox1.Text.Substring(0, 50)
Index and length must refer to a location within the string. Parameter name: length
TextBox1.Text
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)