Click here to Skip to main content
15,895,746 members
Home / Discussions / C#
   

C#

 
AnswerRe: Cange datagridview cel backcolor if cel has value Pin
Wendelius4-Jan-13 10:57
mentorWendelius4-Jan-13 10:57 
GeneralRe: Cange datagridview cel backcolor if cel has value Pin
GrooverFromHolland4-Jan-13 11:05
GrooverFromHolland4-Jan-13 11:05 
AnswerRe: Cange datagridview cel backcolor if cel has value Pin
Alan N4-Jan-13 15:09
Alan N4-Jan-13 15:09 
GeneralRe: Cange datagridview cel backcolor if cel has value Pin
GrooverFromHolland5-Jan-13 0:34
GrooverFromHolland5-Jan-13 0:34 
QuestionC# obtain data from file name Pin
classy_dog4-Jan-13 8:24
classy_dog4-Jan-13 8:24 
AnswerRe: C# obtain data from file name Pin
Pete O'Hanlon4-Jan-13 8:59
mvePete O'Hanlon4-Jan-13 8:59 
AnswerRe: C# obtain data from file name Pin
OriginalGriff4-Jan-13 9:50
mveOriginalGriff4-Jan-13 9:50 
GeneralRe: C# obtain data from file name Pin
classy_dog5-Jan-13 10:32
classy_dog5-Jan-13 10:32 
The file name would look like the following:

C:\\app1\12_2012\customer name_contact name.xls.

The part of the file name I listed above is the following:
customer name_contact name.xls.

The customer name can contain all kinds of special characters like (,),'. Thus I need to be able to parse out the customer name with all the special characters.

Note: It is my idea to have an underscore between customer name and contact name for the following reasons:
1. I need some kind of a delimiter,
2. I do not think alot of people's name have an 'underscore' as part of the name.
3. The underscore is a valid character for a filename.

Note: these names may like like the following if it is entered incorrectly by a user:

customer name _ contact name.xls.

Thus can you tell me how you would parse out the names in that case?
GeneralRe: C# obtain data from file name Pin
OriginalGriff5-Jan-13 11:00
mveOriginalGriff5-Jan-13 11:00 
GeneralRe: C# obtain data from file name Pin
micke.andersson28-Jan-13 4:31
micke.andersson28-Jan-13 4:31 
QuestionExecute a .props file Pin
vanikanc4-Jan-13 8:07
vanikanc4-Jan-13 8:07 
AnswerRe: Execute a .props file Pin
Eddy Vluggen4-Jan-13 22:45
professionalEddy Vluggen4-Jan-13 22:45 
GeneralRe: Execute a .props file Pin
vanikanc7-Jan-13 6:50
vanikanc7-Jan-13 6:50 
AnswerRe: Execute a .props file Pin
Eddy Vluggen7-Jan-13 7:04
professionalEddy Vluggen7-Jan-13 7:04 
GeneralSEHException unhandled Pin
Chris-ahams Njikonye4-Jan-13 6:50
Chris-ahams Njikonye4-Jan-13 6:50 
GeneralRe: SEHException unhandled Pin
Eddy Vluggen4-Jan-13 22:44
professionalEddy Vluggen4-Jan-13 22:44 
GeneralRe: SEHException unhandled Pin
Chris-ahams Njikonye6-Jan-13 23:26
Chris-ahams Njikonye6-Jan-13 23:26 
GeneralRe: SEHException unhandled Pin
Eddy Vluggen6-Jan-13 23:38
professionalEddy Vluggen6-Jan-13 23:38 
GeneralRe: SEHException unhandled Pin
Chris-ahams Njikonye8-Jan-13 3:46
Chris-ahams Njikonye8-Jan-13 3:46 
GeneralRe: SEHException unhandled Pin
Eddy Vluggen9-Jan-13 1:06
professionalEddy Vluggen9-Jan-13 1:06 
QuestionStorage repository Pin
tgarijo4-Jan-13 5:00
tgarijo4-Jan-13 5:00 
AnswerRe: Storage repository Pin
Abhinav S4-Jan-13 6:22
Abhinav S4-Jan-13 6:22 
Questiondropdown issue Pin
rakeshs3124-Jan-13 4:21
rakeshs3124-Jan-13 4:21 
AnswerRe: SSSS Pin
Simon_Whale4-Jan-13 4:25
Simon_Whale4-Jan-13 4:25 
AnswerHHHH Pin
Keith Barrow4-Jan-13 5:05
professionalKeith Barrow4-Jan-13 5:05 

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.