Winform 遍歷 ListBox中的全部項

foreach(DataRowView row in listBox.Items )
{
    MessageBox.Show(row["displayMember"].ToString())
}
相關文章
相關標籤/搜索