TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Mohamed Moumni
NA
48
8.4k
how get directories read only ? c#
Jul 6 2017 3:56 PM
i use this code to select a path and get all subdirectories of it
if
(FBD_devis.ShowDialog() == DialogResult.OK)
{
try
{
DirectoryInfo diri_info =
new
DirectoryInfo(FBD_devis.SelectedPath);
listBox2.Items.AddRange(diri_info.GetDirectories(
"*"
, SearchOption.AllDirectories));
}
catch
(UnauthorizedAccessException u)
{
MessageBox.Show(
"le problème c'est a cause ce Dossiers: "
+ u.Message +
"\n"
+ u.Source);
}
}
but when i select the path
it generate this problem
how can I fix this problem please ?
Reply
Answers (
1
)
Sql query so that i could filter data by date
Asp,net radio button