how to add checked items in checkedlistbox to ultrawingrid programmatically and delete the row same on uncheck?
private void lstManagers_ItemSelectionChanged(object sender, ItemSelectionChangedEventArgs e) {
classData Service = new cAssetsData(); DataTable dt = Service.Method((int)e.SelectedItems[0].Tag); this.ultrawingrid1.DataSource = dt; for (int i = 0; i < checkedlistbox1.Items.Count; i++) { dt.Rows.Add(checkedlistbox1.Items[i]); }
}
private void checkedlistbox1_ItemSelectionChanged(object sender, ItemSelectionChangedEventArgs e){
classData Service = new cAssetsData();DataTable dt = Service.Method((int)e.SelectedItems[0].Tag);this.ultrawingrid1.DataSource = dt;for (int i = 0; i < checkedlistbox1.Items.Count; i++){dt.Rows.Add(checkedlistbox1.Items[i]);}
Hello,
I am just checking about the progress of this issue. Let me know If you need my further assistance on this issue
Thank you for using Infragistics Components.
yup,issue has been resolved..thank you