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

C#

 
QuestionStream XML to HttpWebRequest Pin
007_Stu6-Jul-09 22:16
007_Stu6-Jul-09 22:16 
QuestionGetting data from dyamic generated DataGridView in another form Pin
runli6-Jul-09 21:21
runli6-Jul-09 21:21 
AnswerRe: Getting data from dyamic generated DataGridView in another form Pin
dan!sh 6-Jul-09 22:34
professional dan!sh 6-Jul-09 22:34 
GeneralRe: Getting data from dyamic generated DataGridView in another form Pin
runli6-Jul-09 23:58
runli6-Jul-09 23:58 
QuestionReplace numbers after the . with other numbers Pin
ksaw1236-Jul-09 20:52
ksaw1236-Jul-09 20:52 
AnswerRe: Replace numbers after the . with other numbers Pin
0x3c06-Jul-09 20:59
0x3c06-Jul-09 20:59 
GeneralRe: Replace numbers after the . with other numbers Pin
ksaw1236-Jul-09 22:24
ksaw1236-Jul-09 22:24 
AnswerRe: Replace numbers after the . with other numbers Pin
dan!sh 6-Jul-09 22:31
professional dan!sh 6-Jul-09 22:31 
Is this a CSV file?

I would say use File.ReadAllLines and then use Regular Expressions to find the decimal numbers. Then using the Matches collection you can replace digits.

You can also use String.Replace method alone to do this.
GeneralRe: Replace numbers after the . with other numbers Pin
ksaw1236-Jul-09 23:27
ksaw1236-Jul-09 23:27 
GeneralRe: Replace numbers after the . with other numbers Pin
dan!sh 6-Jul-09 23:50
professional dan!sh 6-Jul-09 23:50 
GeneralRe: Replace numbers after the . with other numbers Pin
himanshu25617-Jul-09 0:15
himanshu25617-Jul-09 0:15 
GeneralRe: Replace numbers after the . with other numbers Pin
OriginalGriff7-Jul-09 0:20
mveOriginalGriff7-Jul-09 0:20 
GeneralRe: Replace numbers after the . with other numbers Pin
Alan N7-Jul-09 0:01
Alan N7-Jul-09 0:01 
GeneralRe: Replace numbers after the . with other numbers [modified] Pin
Pete O'Hanlon7-Jul-09 0:19
mvePete O'Hanlon7-Jul-09 0:19 
GeneralRe: Replace numbers after the . with other numbers Pin
dan!sh 7-Jul-09 0:32
professional dan!sh 7-Jul-09 0:32 
GeneralRe: Replace numbers after the . with other numbers Pin
Pete O'Hanlon7-Jul-09 0:46
mvePete O'Hanlon7-Jul-09 0:46 
GeneralRe: Replace numbers after the . with other numbers Pin
OriginalGriff7-Jul-09 1:40
mveOriginalGriff7-Jul-09 1:40 
GeneralRe: Replace numbers after the . with other numbers Pin
Pete O'Hanlon7-Jul-09 1:53
mvePete O'Hanlon7-Jul-09 1:53 
Questionhow to create controls @ run time? Pin
CoderForEver6-Jul-09 20:21
CoderForEver6-Jul-09 20:21 
AnswerRe: how to create controls @ run time? Pin
DaveyM696-Jul-09 22:22
professionalDaveyM696-Jul-09 22:22 
JokeRe: how to create controls @ run time? Pin
Rajesh R Subramanian7-Jul-09 0:01
professionalRajesh R Subramanian7-Jul-09 0:01 
GeneralRe: how to create controls @ run time? Pin
PandemoniumPasha7-Jul-09 0:38
PandemoniumPasha7-Jul-09 0:38 
GeneralRe: how to create controls @ run time? Pin
Pete O'Hanlon7-Jul-09 0:58
mvePete O'Hanlon7-Jul-09 0:58 
GeneralRe: how to create controls @ run time? Pin
CoderForEver7-Jul-09 1:48
CoderForEver7-Jul-09 1:48 
GeneralRe: how to create controls @ run time? Pin
DaveyM697-Jul-09 2:04
professionalDaveyM697-Jul-09 2:04 

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.