Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Converting a string to an object property
Message
 
To
14/06/2008 12:05:00
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01323589
Message ID:
01324446
Views:
13
>No, not really ... it should still work just fine. Part of the problem you might have run into could be a case-sensitivity issue with the .GetField() and .GetProperty() methods ... being a VB guy, you're not used to case-sensitivity. <g> You can specify to ignore the CaseSensitivity with the BindingFlags. I know you said you already found a workaround, so maybe you don't want to bother with this, but this looks like it works fairly well and it's not that complicated:

Yes, if the code I posted fails it's usually because of the visibility or the casing. I actually tailored the original code so it would match the normal visibilty of ASP.NET controls dropped on a form.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Reply
Map
View

Click here to load this message in the networking platform