我的aspx页面中有手风琴:
<asp:Accordion ID="acrdOdlLeadActivities" runat="server"
SelectedIndex="0" HeaderCssClass="accordionHeader"
ContentCssClass="accordionContent" AutoSize="None"
FadeTransitions="true" ></asp:Accordion>
我需要在手风琴中添加多个标题
acdpne.HeaderContainer.Controls.Add(new LiteralControl(objLead.strLeadStatus + i));
acdpne.HeaderContainer.Controls.Add(new LiteralControl(objLead.strSalesManName + i));
如何分离“strLeadStatus”和“strSalesManName”(在它们之间添加空格或为其提供样式)?
答案 0 :(得分:0)
您是否尝试过: