My content is stored in the database, and Response.Write is used in the output. The problem comes. I also want to add a checkbox control after each sentence. It is dynamic. !
Each HTML tag has a corresponding class in .NET. The checkbox corresponds to HtmlInputCheckBox. You can dynamically generate its objects. For details, you can read the description of it in MSDN.
But the control generated in this way cannot trigger server events. In the program, the value of the control cannot be obtained directly. You can only use the backward method from request.from