15,895,667 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
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..
Member 12673779
21-Oct-16 12:06pm
View
But for loop is taking only one value and display that in datagridview..
If i use Where Assigrp IN () it is showing same result..
And if i remove for loop and use Where Assigrp IN () it is not showing data in datagridview.
Member 12673779
21-Oct-16 11:58am
View
I need to design like
example:
Suppose if i selected "ABC" from checkedlistbox corresponding data fetch from database and display in datagridview, if i select "ABC" and "XYZ" it should fetch ABC and XYZ data from database and display in datagridview..
And if i unchecked "ABC", ABC data should remove from datagridview .
Hope my question is clear...
Show More