Click here to Skip to main content
15,895,667 members

Comments by Member 12673779 (Top 7 by date)

Member 12673779 7-Nov-16 18:06pm View    
Thank you thank you thank you sooo much
it worked for me..
Member 12673779 24-Oct-16 8:40am View    
I tried below code to store checkeditems, the below code is storing checked items from checkedlistbox but my items are stored in different rows not in single row in table (database).

can you please help me to search items row by row..

string str = "";
if ( checkedListBox1.CheckedItems.Count > 0)
{
for (int i = 0; i < checkedListBox1.CheckedItems.Count; i++)
{
str += checkedListBox2.CheckedItems[i].ToString();
}
}
Member 12673779 24-Oct-16 8:32am View    
Is your code separating checkeditems by comma, if yes then we can write it in
str += Checkedlistbox1.CheckedItems[i].ToString() + ",";

But it won't work because my items are stored in different rows in table..
Member 12673779 24-Oct-16 7:46am View    
Deleted
Thank your for your help but i didn't understood your code.. can you please elaborate it.
Member 12673779 21-Oct-16 12:17pm View    
can you please share example..