Quantcast
Channel: SQLServerCentral » Programming » Powershell » Latest topics
Viewing all articles
Browse latest Browse all 467

Forms and controls

$
0
0
I'm trying to generate a dynamic control from data in SQL Server.The number of rows is variable, as is the visibility of the individual radiobuttons.criteria1 radiobutton1 radiobutton2 radiobutton3 inputboxcriteria2 radiobutton1 radiobutton2 radiobutton3 inputbox....I've got this working -- except that since all the radiobuttons are on the same control, clicking radiobutton1 on criteria2 turns off any other radiobuttons, on all rows.So what I need to do now is, for each row, to put the controls into a ...container control? and then add each container to my form.I tried a UserControl and GroupBox, to no avail.Bonus marks: assuming I get my container control set up, how do I determine the selected radiobutton? Or do I set a property on the container when then radio button becomes checked?

Viewing all articles
Browse latest Browse all 467

Trending Articles