How to generate asp.net control using markup in database

后端 未结 3 752
孤城傲影
孤城傲影 2021-01-23 05:45

How do I generate the controls in a div based on the markup defined in a SQL Server database? Is it possible? If yes, then how? Can anyone give me resources?

&l         


        
3条回答
  •  天命终不由人
    2021-01-23 06:39

    Here is another SO question using jquery ajax to load info from database

    I would recommend having some type of sanitizing intermediary; otherwise you are opening yourself up to cross-site scripting (XSS) issues.

提交回复
热议问题