Click here to Skip to main content
15,922,015 members
Home / Discussions / C#
   

C#

 
QuestionCommon Variables in Main, Dlls, and Functions in .cs Pin
zequion7-Jan-17 21:11
professionalzequion7-Jan-17 21:11 
AnswerRe: Common Variables in Main, Dlls, and Functions in .cs Pin
Richard MacCutchan7-Jan-17 21:28
mveRichard MacCutchan7-Jan-17 21:28 
GeneralRe: Common Variables in Main, Dlls, and Functions in .cs Pin
zequion8-Jan-17 0:21
professionalzequion8-Jan-17 0:21 
GeneralRe: Common Variables in Main, Dlls, and Functions in .cs Pin
Richard MacCutchan8-Jan-17 1:28
mveRichard MacCutchan8-Jan-17 1:28 
GeneralRe: Common Variables in Main, Dlls, and Functions in .cs Pin
zequion8-Jan-17 5:42
professionalzequion8-Jan-17 5:42 
QuestionMocking Controller Methods Pin
Liagapi7-Jan-17 13:34
Liagapi7-Jan-17 13:34 
AnswerRe: Mocking Controller Methods Pin
Richard MacCutchan7-Jan-17 20:52
mveRichard MacCutchan7-Jan-17 20:52 
GeneralRe: Mocking Controller Methods Pin
Liagapi7-Jan-17 21:10
Liagapi7-Jan-17 21:10 
GeneralRe: Mocking Controller Methods Pin
Eddy Vluggen8-Jan-17 2:42
professionalEddy Vluggen8-Jan-17 2:42 
AnswerRe: Mocking Controller Methods Pin
Member 128317728-Jan-17 19:15
Member 128317728-Jan-17 19:15 
GeneralRe: Mocking Controller Methods Pin
Liagapi11-Jan-17 5:24
Liagapi11-Jan-17 5:24 
QuestionI want to replace number in two tag to double with regex in a file txt Pin
Member 105306516-Jan-17 5:16
professionalMember 105306516-Jan-17 5:16 
AnswerRe: I want to replace number in two tag to double with regex in a file txt Pin
OriginalGriff6-Jan-17 5:34
mveOriginalGriff6-Jan-17 5:34 
GeneralRe: I want to replace number in two tag to double with regex in a file txt Pin
Member 105306516-Jan-17 7:03
professionalMember 105306516-Jan-17 7:03 
GeneralRe: I want to replace number in two tag to double with regex in a file txt Pin
OriginalGriff6-Jan-17 8:06
mveOriginalGriff6-Jan-17 8:06 
GeneralRe: I want to replace number in two tag to double with regex in a file txt Pin
Member 105306516-Jan-17 8:35
professionalMember 105306516-Jan-17 8:35 
GeneralRe: I want to replace number in two tag to double with regex in a file txt Pin
OriginalGriff6-Jan-17 8:49
mveOriginalGriff6-Jan-17 8:49 
GeneralRe: I want to replace number in two tag to double with regex in a file txt Pin
Member 105306516-Jan-17 9:04
professionalMember 105306516-Jan-17 9:04 
GeneralRe: I want to replace number in two tag to double with regex in a file txt Pin
OriginalGriff6-Jan-17 9:26
mveOriginalGriff6-Jan-17 9:26 
GeneralRe: I want to replace number in two tag to double with regex in a file txt Pin
Member 105306516-Jan-17 9:59
professionalMember 105306516-Jan-17 9:59 
GeneralRe: I want to replace number in two tag to double with regex in a file txt Pin
OriginalGriff6-Jan-17 10:40
mveOriginalGriff6-Jan-17 10:40 
GeneralRe: I want to replace number in two tag to double with regex in a file txt Pin
Member 105306516-Jan-17 10:49
professionalMember 105306516-Jan-17 10:49 
GeneralRe: I want to replace number in two tag to double with regex in a file txt Pin
Dave Kreskowiak6-Jan-17 11:15
mveDave Kreskowiak6-Jan-17 11:15 
GeneralRe: I want to replace number in two tag to double with regex in a file txt Pin
Member 105306516-Jan-17 11:29
professionalMember 105306516-Jan-17 11:29 
GeneralRe: I want to replace number in two tag to double with regex in a file txt Pin
Dave Kreskowiak6-Jan-17 11:33
mveDave Kreskowiak6-Jan-17 11:33 
I would suggest you start using the HTML Agility Pack to make scraping a bit easier, but that's up to you.

It seems you're trying to treat the page as a large string an manipulate it as such. Instead of doing that, you might want to just grab the actual data, not the tags around them, store them as appropriate in your application data model, and then you can format the data any way you want when you present it back to the user in whatever application you're writing.
A guide to posting questions on CodeProject

Click this: Asking questions is a skill.
Seriously, do it.

Dave Kreskowiak

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.