T
tfsimes
Hi, I am a long time ASP developer learning .NET, so please bear with
me. I am trying to find an article or such that will help me understand
how to change control properties at runtime based on the value in a
field.
For instance, if I want to add some text to a field in a GridView based
on a boolean value in an un-shown field being returned.
Another example would be if I want to bind a Listbox to a table of
people, however I want to concatenate the first and last name fields to
be displayed?
I would think there is some way to configure this in the controls
themselves, which would also be nice to know how to do, but I have run
into this same problem with other controls so I would like to
understand how to reference the data fields at runtime.
Any help/links would be greatly appreciated. Thanks!
- Tom
me. I am trying to find an article or such that will help me understand
how to change control properties at runtime based on the value in a
field.
For instance, if I want to add some text to a field in a GridView based
on a boolean value in an un-shown field being returned.
Another example would be if I want to bind a Listbox to a table of
people, however I want to concatenate the first and last name fields to
be displayed?
I would think there is some way to configure this in the controls
themselves, which would also be nice to know how to do, but I have run
into this same problem with other controls so I would like to
understand how to reference the data fields at runtime.
Any help/links would be greatly appreciated. Thanks!
- Tom