Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
13
Reply
Sort Out List Box by Modified Date.
Feroz Khan
Mar 18 2015 2:48 PM
808
Reply
in below file is showing from a directroy file but not sort out I need sort out by modified date.
please help me about this... thanks.
private
void
Receipts_Load(
object
sender, EventArgs e)
{
try
{
string
[] files = Directory.GetFiles(path);
foreach
(
string
file
in
files)
{
show_receipts_listbox.Items.Add(Path.GetFileName(file));
}
}
catch
(Exception ex)
{
MessageBox.Show(ex.Message,
"Error"
);
}
}
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
13
)
Next Recommended Forum
Fetching Data from Database
Interface main Use for real time? why i need this?