0
<asp:CheckBox oncheckedchanged="chk1_CheckedChanged" ID=chk1 CssClass='<%# Eval("UserID") + "," + Eval("IsB") %>' runat="Server"/>
我得到這個複選框,在我的page..if我需要在指定的CssClass的CommandArgument這兩個值即屬性分配指令參數值在代碼字符串後面
<%#的eval(「用戶名「)%>和<%#Eval(」IsB「)%>到兩個字符串在我的代碼後面..如何做到這一點?
protected void chk1_OnCheckChanged(object sender, EventArgs e)
{
string s1 = "Need the first value from Command argument here";
string s2 = "Need the second value from Command argument here";
}
如何獲取在複選框的CssClass屬性中傳遞的那些命令參數值???
它給我這個錯誤...的最佳重載方法匹配 'string.Split(PARAMS的char [])' 具有一些無效參數 – Serenity 2010-11-26 09:43:36