I am new to VB.net and I want to check a text box is not null or empty I have used so many ways to find out But none helped me out These are the methods I have used
If textbox1.text.trim.Length >0 then
My sql insert query
End if
If textbox1.text<>"" then
End if
Could you help me out where I am going wrong