Click here to Skip to main content
       

C#

 
GeneralRe: I need a help PinmemberBire50t17-Jan-13 20:18 
AnswerRe: I need a help PinmvpEddy Vluggen18-Jan-13 2:19 
GeneralRe: I need a help PinmemberBire50t17-Jan-13 20:21 
QuestionHi PinmemberBire50t16-Jan-13 22:19 
SuggestionRe: Hi PinmvpRichard MacCutchan17-Jan-13 0:38 
GeneralRe: Hi PinmemberBire50t17-Jan-13 20:26 
GeneralRe: Hi PinmvpRichard MacCutchan17-Jan-13 23:56 
Questionneed a help Pinmemberhelibell16-Jan-13 21:22 
AnswerRe: need a help Pinmember d@nish 16-Jan-13 21:26 
QuestionRe: need a help Pinmemberhelibell16-Jan-13 21:35 
AnswerRe: need a help Pinmember d@nish 16-Jan-13 21:47 
QuestionRe: need a help Pinmemberhelibell16-Jan-13 22:08 
AnswerRe: need a help PinmemberBire50t16-Jan-13 22:57 
QuestionC# use linq for on filename Pinmemberdcof16-Jan-13 20:24 
In a C# 2008 desktop application, I can using the following statement to select error reports that are displayed on excel spreadsheets:
string[] excelFiles = Directory.GetFiles(strFullpath, "*ErrorReport.xlsx")
                           .Select(path => Path.GetFileName(path))
                           .ToArray(); 
Due to the above, I have the following questions:
1. if I want to change the statement to select either "*bErrorReport.xlsx" or "*dErrorReport.xlsx" or "*ErrorReport.xlsx",
how would I change the statement I just displayed?
2. The above statement picks 3 excel spreadsheets and there are really only two excel spreadsheets. The excelspreadshets that are valid
include:
customer_number_bErrorReport.xlsx,
and customer_number_ErrorReport.xlsx.
 
The invalid value that is selected is
~customer_number_bErrorReport.xlsx.
 
Can you show me the code, so an invalid spreadsheet called ~customer_number_bErrorReport.xlsx is not selected?
AnswerRe: C# use linq for on filename Pinmember d@nish 16-Jan-13 21:08 
GeneralRe: C# use linq for on filename Pinmemberdcof17-Jan-13 9:19 
AnswerRe: C# use linq for on filename PinmvpEddy Vluggen17-Jan-13 1:35 
GeneralRe: C# use linq for on filename Pinmemberdcof17-Jan-13 9:18 
QuestionRead every single keyboard press? [solved] [modified] PinmemberMidnight Ahri16-Jan-13 16:24 
GeneralRe: Read every single keyboard press? PinmemberPIEBALDconsult16-Jan-13 16:34 
QuestionRe: Read every single keyboard press? PinmemberMidnight Ahri16-Jan-13 16:52 
AnswerRe: Read every single keyboard press? PinmemberPIEBALDconsult16-Jan-13 16:56 
AnswerRe: Read every single keyboard press? [modified] PinmemberMidnight Ahri16-Jan-13 17:03 
GeneralRe: Read every single keyboard press? PinmemberPIEBALDconsult16-Jan-13 18:13 
GeneralRe: Read every single keyboard press? Pinmemberpt140116-Jan-13 20:30 
AnswerRe: Read every single keyboard press? PinmemberMidnight Ahri16-Jan-13 20:43 
GeneralRe: Read every single keyboard press? Pinmemberpt140116-Jan-13 21:04 
AnswerRe: Read every single keyboard press? PinmemberMidnight Ahri16-Jan-13 21:27 
AnswerRe: Read every single keyboard press? PinmvpDave Kreskowiak16-Jan-13 18:32 
AnswerRe: Read every single keyboard press? PinmvpEddy Vluggen17-Jan-13 1:41 
GeneralRe: Read every single keyboard press? Pinmemberjschell17-Jan-13 9:30 
AnswerRe: Read every single keyboard press? PinmvpEddy Vluggen17-Jan-13 10:39 
AnswerRe: Read every single keyboard press? PinmvpAbhinav S16-Jan-13 18:16 
AnswerRe: Read every single keyboard press? [modified] PinmemberMidnight Ahri16-Jan-13 19:09 
QuestionJoining 2 DataSets PinmemberRickSharp16-Jan-13 8:19 
SuggestionRe: Joining 2 DataSets PinmemberHuorSwords17-Jan-13 3:16 
Questionwpf OR windows forms ??? PinmemberMohamad Shahmardan16-Jan-13 4:56 
AnswerRe: wpf OR windows forms ??? PinmvpRichard MacCutchan16-Jan-13 5:20 
AnswerRe: wpf OR windows forms ??? PinprotectorPete O'Hanlon16-Jan-13 5:26 
AnswerRe: wpf OR windows forms ??? PinmvpDave Kreskowiak16-Jan-13 5:57 
AnswerRe: wpf OR windows forms ??? Pinmember ProgramFOX16-Jan-13 6:26 
AnswerRe: wpf OR windows forms ??? PinmvpAbhinav S16-Jan-13 8:19 
AnswerRe: wpf OR windows forms ??? PinmemberMohamad Shahmardan16-Jan-13 9:26 
AnswerRe: wpf OR windows forms ??? PinmemberPIEBALDconsult16-Jan-13 12:16 
QuestionWMI causing Access is denied Pinmembervanikanc16-Jan-13 4:36 
AnswerRe: WMI causing Access is denied PinmvpDave Kreskowiak16-Jan-13 4:41 
GeneralRe: WMI causing Access is denied Pinmembervanikanc16-Jan-13 4:56 
GeneralRe: WMI causing Access is denied Pinmembervanikanc16-Jan-13 5:31 
GeneralRe: WMI causing Access is denied PinmvpDave Kreskowiak16-Jan-13 5:55 
GeneralRe: WMI causing Access is denied PinmvpDave Kreskowiak16-Jan-13 5:57 

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

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


Advertise | Privacy | Mobile
Web03 | 2.8.141220.1 | Last Updated 20 Dec 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid