Well, ultimately what I'd like to accomplish is to avoid using the variable name in quotes. As some background, I find myself having to bind a lot of variables to textboxes on my forms, so I keep repeating code such as:
The problem here is that this can compile clean even if "MyColumn" is not spelled correctly, so the error is not discovered until run time. I'd rather be able to creating a binding method of my own, to which I can parse the variable to its name:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.