Hi
I am needing to trim out empty spaces in my datafield before the code below. I thought Trim(lit1.Text) would do this but this does not work
Thanks
I am needing to trim out empty spaces in my datafield before the code below. I thought Trim(lit1.Text) would do this but this does not work
Code:
Trim(lit1.Text)
If IsDBNull(lit1.Text) Or lit1.Text = "" Then
lit1.Text = ""
Else
lit1.Text = lit1.Text & " " & " <br>"
End If
Thanks