Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Converting a string to an object property
Message
 
 
To
12/06/2008 15:22:08
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:
01323590
Views:
15
Did you check http://west-wind.com/weblog/posts/256.aspx ?

>OK, for some reason this is tough for me.
>
>I have a table in SQL Server that stores paramters and the control source of those parameters.
>
>For one row, the column name is ReportParmValue and it contains "GridView1.SelectedValue". This is represented in the code as
>
>Dim cRPV As String = dtResult.Rows(0).Item("ReportParmValue")
>
>cRPV will now contain "GridView1.SelectedValue".
>
>My problem is that I want the value of the form control GridView1.SelectedValue (which should be a string) and not the string "GridView1.SelectedValue".
>
>The VFP equivalent would be something like
>
>x = (cRPV) ..or.. x = EVALUATE(cRPV)
>
>Any ideas? Thanks.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform