can use a string parameter to pass into the selectmethod. so I pass in a
string = 'Dog' now once in the selectmethod I need to convert that string
into and object of type Dog...I hope this makes sense. Do anyone know how to
do this?? i guess I need a similar method to Eval in javascript.
Please need urgent so could replies also go to johncotsell@dotnet.itags.org.hotmail.com
cheers JohnFor equivalent to javascript's eval, check out the namespaces
System.Reflection.Emit (for creating assemblies on-the-fly) or perhaps
Microsoft.CSharp.Compiler (try the static Compile() method)
0 comments:
Post a Comment