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

C#

 
AnswerRe: LINQ / lambda expression to check if date is within a range Pin
OriginalGriff14-Jan-14 5:08
mveOriginalGriff14-Jan-14 5:08 
GeneralRe: LINQ / lambda expression to check if date is within a range Pin
littleGreenDude14-Jan-14 5:15
littleGreenDude14-Jan-14 5:15 
GeneralRe: LINQ / lambda expression to check if date is within a range Pin
Dave Kreskowiak14-Jan-14 5:26
mveDave Kreskowiak14-Jan-14 5:26 
GeneralRe: LINQ / lambda expression to check if date is within a range Pin
OriginalGriff14-Jan-14 5:36
mveOriginalGriff14-Jan-14 5:36 
AnswerRe: LINQ / lambda expression to check if date is within a range Pin
Pete O'Hanlon14-Jan-14 5:20
mvePete O'Hanlon14-Jan-14 5:20 
QuestionBinding Navigator is disabled with empty List<T> Pin
Mondis14-Jan-14 3:09
Mondis14-Jan-14 3:09 
AnswerRe: Binding Navigator is disabled with empty List<T> Pin
Dave Kreskowiak14-Jan-14 5:19
mveDave Kreskowiak14-Jan-14 5:19 
GeneralRe: Binding Navigator is disabled with empty List<T> Pin
Mondis14-Jan-14 6:44
Mondis14-Jan-14 6:44 
The list is empty. I have a local class level variable defined as

List<Config> configs;

In my load routine I initialize it.

configs = new List<Config>();

I then check for config files and add those to the list. If nothing is added then the empty configs list is added to the bindingsource.datasource as

bindingsource.datasource = configs;

The kluge is to add an empty item to the list and everything works,but that doesn't seem right. I can also delete that empty item and the Binding Navigator is still enabled, which doesn't make sense at all.

Thanks!

Mondis
GeneralRe: Binding Navigator is disabled with empty List<T> Pin
Dave Kreskowiak14-Jan-14 7:27
mveDave Kreskowiak14-Jan-14 7:27 
GeneralRe: Binding Navigator is disabled with empty List<T> Pin
Mondis14-Jan-14 7:49
Mondis14-Jan-14 7:49 
GeneralI love the C# syntax Pin
snorkie14-Jan-14 2:29
professionalsnorkie14-Jan-14 2:29 
GeneralRe: I love the C# syntax Pin
OriginalGriff14-Jan-14 3:57
mveOriginalGriff14-Jan-14 3:57 
GeneralRe: I love the C# syntax Pin
snorkie14-Jan-14 6:20
professionalsnorkie14-Jan-14 6:20 
GeneralRe: I love the C# syntax Pin
OriginalGriff14-Jan-14 8:08
mveOriginalGriff14-Jan-14 8:08 
GeneralRe: I love the C# syntax Pin
Paul Conrad14-Jan-14 15:32
professionalPaul Conrad14-Jan-14 15:32 
GeneralRe: I love the C# syntax Pin
Rob Philpott14-Jan-14 22:38
Rob Philpott14-Jan-14 22:38 
GeneralRe: I love the C# syntax Pin
Pete O'Hanlon14-Jan-14 7:25
mvePete O'Hanlon14-Jan-14 7:25 
GeneralRe: I love the C# syntax Pin
OriginalGriff14-Jan-14 8:06
mveOriginalGriff14-Jan-14 8:06 
GeneralRe: I love the C# syntax Pin
Pete O'Hanlon14-Jan-14 8:16
mvePete O'Hanlon14-Jan-14 8:16 
GeneralRe: I love the C# syntax Pin
jschell14-Jan-14 13:05
jschell14-Jan-14 13:05 
Questionhow to export data to sql uploaded in web Pin
fatemehsoleimani13-Jan-14 23:51
fatemehsoleimani13-Jan-14 23:51 
AnswerRe: how to export data to sql uploaded in web Pin
Pete O'Hanlon13-Jan-14 23:57
mvePete O'Hanlon13-Jan-14 23:57 
GeneralRe: how to export data to sql uploaded in web Pin
fatemehsoleimani14-Jan-14 0:06
fatemehsoleimani14-Jan-14 0:06 
GeneralRe: how to export data to sql uploaded in web Pin
Pete O'Hanlon14-Jan-14 0:33
mvePete O'Hanlon14-Jan-14 0:33 
GeneralRe: how to export data to sql uploaded in web Pin
fatemehsoleimani14-Jan-14 5:34
fatemehsoleimani14-Jan-14 5:34 

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.