Click here to Skip to main content
15,914,109 members
Home / Discussions / C#
   

C#

 
QuestionInline If problem Pin
MarkB12329-May-09 1:09
MarkB12329-May-09 1:09 
AnswerRe: Inline If problem Pin
Pete O'Hanlon29-May-09 1:11
mvePete O'Hanlon29-May-09 1:11 
GeneralRe: Inline If problem Pin
MarkB12329-May-09 1:49
MarkB12329-May-09 1:49 
AnswerRe: Inline If problem Pin
stancrm29-May-09 1:13
stancrm29-May-09 1:13 
GeneralRe: Inline If problem Pin
OriginalGriff29-May-09 1:16
mveOriginalGriff29-May-09 1:16 
GeneralRe: Inline If problem Pin
Pete O'Hanlon29-May-09 1:37
mvePete O'Hanlon29-May-09 1:37 
GeneralRe: Inline If problem Pin
stancrm29-May-09 1:48
stancrm29-May-09 1:48 
GeneralRe: Inline If problem Pin
Pete O'Hanlon29-May-09 1:56
mvePete O'Hanlon29-May-09 1:56 
GeneralRe: Inline If problem Pin
OriginalGriff29-May-09 21:41
mveOriginalGriff29-May-09 21:41 
AnswerRe: Inline If problem Pin
harold aptroot29-May-09 1:26
harold aptroot29-May-09 1:26 
GeneralRe: Inline If problem Pin
MarkB12329-May-09 1:58
MarkB12329-May-09 1:58 
GeneralRe: Inline If problem Pin
harold aptroot29-May-09 2:07
harold aptroot29-May-09 2:07 
QuestionCrystal report datasource Pin
KIDYA29-May-09 0:57
KIDYA29-May-09 0:57 
AnswerRe: Crystal report datasource Pin
Nagy Vilmos29-May-09 1:19
professionalNagy Vilmos29-May-09 1:19 
GeneralRe: Crystal report datasource Pin
KIDYA29-May-09 1:24
KIDYA29-May-09 1:24 
GeneralRe: Crystal report datasource Pin
Nagy Vilmos29-May-09 1:40
professionalNagy Vilmos29-May-09 1:40 
QuestionRemove a special character from a file and save in same file. Pin
harishusharma29-May-09 0:53
harishusharma29-May-09 0:53 
AnswerRe: Remove a special character from a file and save in same file. Pin
stancrm29-May-09 1:10
stancrm29-May-09 1:10 
GeneralRe: Remove a special character from a file and save in same file. Pin
Nagy Vilmos29-May-09 1:14
professionalNagy Vilmos29-May-09 1:14 
GeneralRe: Remove a special character from a file and save in same file. Pin
harishusharma29-May-09 1:24
harishusharma29-May-09 1:24 
AnswerRe: Remove a special character from a file and save in same file. Pin
Nagy Vilmos29-May-09 1:12
professionalNagy Vilmos29-May-09 1:12 
GeneralRe: Remove a special character from a file and save in same file. Pin
harishusharma29-May-09 1:31
harishusharma29-May-09 1:31 
GeneralRe: Remove a special character from a file and save in same file. Pin
Nagy Vilmos29-May-09 1:43
professionalNagy Vilmos29-May-09 1:43 
AnswerRe: Remove a special character from a file and save in same file. Pin
Hoorfar29-May-09 22:15
Hoorfar29-May-09 22:15 
i think diffrent encoding make this problem
to solve this problem without any knowledge about encoding use System.IO.StreamReader and depending on size of file use ReadToEnd or ReadLine method. this two method return string and with on loop search and replace you characters and if use ReadToEnd method close file and write to file with System.IO.StreamWriter and if user ReadLine you must use temp file [Get temp address with string System.IO.Path.GetTempFileName()] and when reading and replacing complete delete main file [System.IO.File.Delete(string path)] and copy temp file System.IO.File.Copy(string path1,string path2)]
QuestionRe: Remove a special character from a file and save in same file. Pin
harishusharma9-Jul-09 6:22
harishusharma9-Jul-09 6: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.