是否可以通过代码在 ContentPlaceHolder 中设置数据?这就是我的想法:
dim oCPH as new ContentPlaceHolder
oCPH.id = "column1" 'this id is the one that corresponds with the ID I set on the page
oCPH.content = "content here" '<-- not real code
显然这不是正确的语法,我希望这能澄清我的要求。
是否可以通过代码在 ContentPlaceHolder 中设置数据?这就是我的想法:
dim oCPH as new ContentPlaceHolder
oCPH.id = "column1" 'this id is the one that corresponds with the ID I set on the page
oCPH.content = "content here" '<-- not real code
显然这不是正确的语法,我希望这能澄清我的要求。