Click here to Skip to main content
15,887,485 members
Home / Discussions / C#
   

C#

 
GeneralRe: Application Server and Connection Method Pin
Eddy Vluggen9-Apr-19 8:56
professionalEddy Vluggen9-Apr-19 8:56 
GeneralRe: Application Server and Connection Method Pin
Dave Kreskowiak9-Apr-19 9:22
mveDave Kreskowiak9-Apr-19 9:22 
GeneralRe: Application Server and Connection Method Pin
Eddy Vluggen9-Apr-19 9:28
professionalEddy Vluggen9-Apr-19 9:28 
AnswerRe: Application Server and Connection Method Pin
Gerry Schmitz9-Apr-19 5:58
mveGerry Schmitz9-Apr-19 5:58 
AnswerRe: Application Server and Connection Method Pin
Mycroft Holmes9-Apr-19 12:29
professionalMycroft Holmes9-Apr-19 12:29 
QuestionIPV6 Compatibility Pin
chain singh aanjana7-Apr-19 20:37
chain singh aanjana7-Apr-19 20:37 
AnswerRe: IPV6 Compatibility Pin
Gerry Schmitz8-Apr-19 5:47
mveGerry Schmitz8-Apr-19 5:47 
QuestionHow to add second column to a listBox component? Pin
Member 140558797-Apr-19 9:13
Member 140558797-Apr-19 9:13 
For the moment I can only get the subfolders name of C:\Backup folder to the first column of the listBoxComputer.
Have do I get also the last written date of subfolders to the second column of the listBoxComputer?

C#
private string rootDir = @"C:\Backup";        

private void FormView_Load(object sender, EventArgs e)        {                       
   List<string> ls = Directory.GetDirectories(rootDir).Select(Path.GetFileName).ToList();            
    ls.Sort((a, b) => -1 * a.CompareTo(b));        
    listBoxComputer.Sorted = false;            
    listBoxComputer.DataSource = ls;            
    listBoxUser.SelectedIndex =-1;           
}

AnswerRe: How to add second column to a listBox component? Pin
Mycroft Holmes7-Apr-19 12:27
professionalMycroft Holmes7-Apr-19 12:27 
AnswerRe: How to add second column to a listBox component? Pin
BillWoodruff7-Apr-19 16:27
professionalBillWoodruff7-Apr-19 16:27 
AnswerRe: How to add second column to a listBox component? Pin
Gerry Schmitz8-Apr-19 5:20
mveGerry Schmitz8-Apr-19 5:20 
QuestionIterating in a list of data and search that data in another datatable for update first list Pin
Mou_kol7-Apr-19 8:15
Mou_kol7-Apr-19 8:15 
AnswerRe: Iterating in a list of data and search that data in another datatable for update first list Pin
Luc Pattyn7-Apr-19 15:51
sitebuilderLuc Pattyn7-Apr-19 15:51 
GeneralRe: Iterating in a list of data and search that data in another datatable for update first list Pin
Mou_kol8-Apr-19 9:13
Mou_kol8-Apr-19 9:13 
GeneralRe: Iterating in a list of data and search that data in another datatable for update first list Pin
Luc Pattyn8-Apr-19 9:15
sitebuilderLuc Pattyn8-Apr-19 9:15 
AnswerRe: Iterating in a list of data and search that data in another datatable for update first list Pin
Eddy Vluggen8-Apr-19 0:23
professionalEddy Vluggen8-Apr-19 0:23 
GeneralRe: Iterating in a list of data and search that data in another datatable for update first list Pin
Mou_kol8-Apr-19 9:14
Mou_kol8-Apr-19 9:14 
GeneralRe: Iterating in a list of data and search that data in another datatable for update first list Pin
Eddy Vluggen9-Apr-19 2:02
professionalEddy Vluggen9-Apr-19 2:02 
AnswerRe: Iterating in a list of data and search that data in another datatable for update first list Pin
Gerry Schmitz8-Apr-19 5:39
mveGerry Schmitz8-Apr-19 5:39 
AnswerRe: Iterating in a list of data and search that data in another datatable for update first list Pin
Luc Pattyn8-Apr-19 11:50
sitebuilderLuc Pattyn8-Apr-19 11:50 
GeneralRe: Iterating in a list of data and search that data in another datatable for update first list Pin
Mou_kol9-Apr-19 9:14
Mou_kol9-Apr-19 9:14 
GeneralRe: Iterating in a list of data and search that data in another datatable for update first list Pin
Mou_kol11-Apr-19 8:58
Mou_kol11-Apr-19 8:58 
GeneralRe: Iterating in a list of data and search that data in another datatable for update first list Pin
Luc Pattyn11-Apr-19 9:17
sitebuilderLuc Pattyn11-Apr-19 9:17 
QuestionHow to do three join between three list Pin
Mou_kol7-Apr-19 8:12
Mou_kol7-Apr-19 8:12 
AnswerRe: How to do three join between three list Pin
User 41802549-Apr-19 3:22
User 41802549-Apr-19 3:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.