OnedPiecE
顯示具有
foreach
標籤的文章。
顯示所有文章
顯示具有
foreach
標籤的文章。
顯示所有文章
2012年11月2日 星期五
字串轉list跑foreach
//字串帶入
List
RadioListB = RadioStrB.Split(',').ToList
();
foreach (string item in RadioListB)
{
if (item != "")
{
((RadioButton)grid_view.Rows[Convert.ToInt16(item)].FindControl("RadioButton2")).Checked = true;
}
}
較舊的文章
首頁
訂閱:
文章 (Atom)