i have a checked list box and a text box i am using the code below to enter the item that is checked in to the textbox and it is working fine.How ever the problem comes when a user checks an item and then uncheks it the code is belowliz help
Code:If txtSQL.Text = "" Then txtSQL.Text = chlTableCols.GetItemText(chlTableCols.SelectedItem.ToString) Else txtSQL.Text = txtSQL.Text.ToString + ("," + chlTableCols.GetItemText(chlTableCols.SelectedItem)) End If




liz help
Reply With Quote