Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Evaluating string expression as object


Message #1 by "Martin Skeem" <mskeem@a...> on Fri, 18 Oct 2002 23:28:41 +0100
I am looking for a functionality, which I know exists in JavaScript. In
JavaScript I would use the eval() function.

Basically, if in my webpage, I have an object named "DataGrid4" I could
use it in my code by simply writing DataGrid4.Member(). However, I would
like to get the object name programmatically. In JavaScript I could do
the following: eval('Data' + 'Grid5').Member().

Is there an equivalent in Visual Basic .Net?


Martin Skeem
Aeolus International Ltd
Tel: + 353-1-4580895
Fax: + 353-1-4580058
Please visit our website at www.aeolus-intl.com 




  Return to Index