Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
how to loop through files in checkedlistbox unchecked files
prasad A
Sep 11 2016 6:05 AM
250
Reply
hi ....
i want code for checkedlist box contain files and i click delete button unchecked items in checkbox control deleted automatically including their physical path also..
for (int i = 0; i < checkedListBox1.Items.Count; i++)
{
if (!(checkedListBox1.GetItemChecked(i)))
{
\\don't do anything
else
{
\\ want a code for unchecked items delete file permently from harddisk.
}
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
it is windows forms Application.
hi I want to delete checkedlistbox Contain files like (.jpg