Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
120
adding checked items in checkedlistbox to ultrawingrid programmatically and delete the row same on uncheck
posted

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]);
}

}