Such as the database have such a list
Bz Max
1 10
1
152 5
2 5
2 5
3
If 1, then display check box; 2 will display a text box, each with the corresponding score,
When checked, for example, the database is written to 10;
If in the text box input number, cannot be greater than the Max
CodePudding user response:
Top, top,CodePudding user response:
Repeater in the use of the ternary operator<% # Eval (" Name ") % & gt;==1? Check box: text box
CodePudding user response:
<% # Eval (" Name ") % & gt;==1?" HTML checkboxes ":" the text frame's HTML (can restrict the minimum and maximum input Numbers only) "% & gt;CodePudding user response:
Thank god, I'm going to tryCodePudding user response: