satheesh babu

satheesh babu

  • NA
  • 128
  • 308.9k

can we use string as expression in if statement in vb.net

Aug 24 2010 2:14 AM
Hi all,

         I want to use if statement and i am reading condition/expression from text file and storing in a string/object variable.

now i want use that string/object as my condition in if statement like below.

Dim sourceLogic as String ="reading from a text file"

if sourceLogic then

'do something

End If

can we use like above.

please help me.

Answers (1)