I want to validate a textbox with ascii values as i dont want spaces to be sent.
Currently im using this if statement but when a user puts a space it is accepted.
if ((MessageTextbox.Text != "")||(MessageTextbox.Text.Length > 0))
{
}
I want to only allow if the ascii value of the textbox is greater than 33.