After adding a datasource, I can see my tables in the right-pane of my IDE. Some tables I placed on my form as a datagrid and others as detail view (textbox w/ labels). Hiding a column in the datagrid is fine since I can do visible = false. But for the detail view, I can hide the textboxes through code but not the labels beside them because they cannot be seen in the code. How can I hide the labels of the textboxes? What I want to accomplish is to be able to hide the label and textbox of a column.
How to Hide a Label of a Bound Field
Collapse
Comment