Click here to Skip to main content
15,886,110 members
Home / Discussions / C#
   

C#

 
GeneralRe: Simple C # Solution Help Pin
Ravenet8-Apr-08 16:02
Ravenet8-Apr-08 16:02 
GeneralCalling a ASP.NET C# function from javascript Pin
Matt Cavanagh8-Apr-08 9:27
Matt Cavanagh8-Apr-08 9:27 
GeneralRe: Calling a ASP.NET C# function from javascript Pin
Pete O'Hanlon8-Apr-08 9:49
mvePete O'Hanlon8-Apr-08 9:49 
GeneralRe: Calling a ASP.NET C# function from javascript Pin
nelo_8-Apr-08 14:20
nelo_8-Apr-08 14:20 
GeneralExport DataGrid from different dynamically created tabpages to multiple worksheets of an Excel spreasheet Pin
Walaza8-Apr-08 7:09
Walaza8-Apr-08 7:09 
Generalproblems rightformating [modified] Pin
stephan_0078-Apr-08 6:24
stephan_0078-Apr-08 6:24 
GeneralRe: problems rightformating Pin
Luc Pattyn8-Apr-08 6:42
sitebuilderLuc Pattyn8-Apr-08 6:42 
GeneralRe: problems rightformating Pin
stephan_0078-Apr-08 10:03
stephan_0078-Apr-08 10:03 
thanks for your hint.
i just edited it.

here it is again:
should be
my town
      1
......
my town
      9
my town
     10
.....
my town
    100

but it looks like
my town
      1
.....
my town
      9
my town
      10


i use the
string.replace(Tag, Value) function

I do have a template which symbolizes a page of the output. in there i do have fields/tags like |tagname| which have to be replaced by its value. and there is a tag called |pagenum| which should be replaced by 1 on the first page, 2 on the second one and so on.

The "template" for every page is the same, therefore I do only load page by page, because otherwise all occurances will be replaced.

i know how many pages will be in total.

so to replace the tag |pagenum| i call the function

template = template.replace(pagetag, convert.toString(pagevalue));

the pagetag is generated some lines above. the pagevalue is an integer. but no matter what i try it looks like the string which replaces the tag starts where the tag ended.

does anyone have an idea of how to realize the correct positioning of the pagenumbers?

thanks.
stephan.
GeneralChecking integer values and adding same types together Pin
Sharkadder8-Apr-08 6:23
Sharkadder8-Apr-08 6:23 
GeneralRe: Checking integer values and adding same types together Pin
carbon_golem8-Apr-08 7:25
carbon_golem8-Apr-08 7:25 
GeneralRe: Checking integer values and adding same types together Pin
Sharkadder8-Apr-08 7:50
Sharkadder8-Apr-08 7:50 
GeneralRe: Checking integer values and adding same types together Pin
carbon_golem8-Apr-08 16:37
carbon_golem8-Apr-08 16:37 
GeneralRe: Checking integer values and adding same types together Pin
Dave Kreskowiak8-Apr-08 7:55
mveDave Kreskowiak8-Apr-08 7:55 
GeneralRe: Checking integer values and adding same types together [modified] Pin
Sharkadder8-Apr-08 10:53
Sharkadder8-Apr-08 10:53 
General(De)serialization progress Pin
Stevo Z8-Apr-08 6:21
Stevo Z8-Apr-08 6:21 
GeneralRe: (De)serialization progress Pin
Giorgi Dalakishvili8-Apr-08 6:45
mentorGiorgi Dalakishvili8-Apr-08 6:45 
GeneralRe: (De)serialization progress Pin
Stevo Z8-Apr-08 6:58
Stevo Z8-Apr-08 6:58 
GeneralRe: (De)serialization progress Pin
Giorgi Dalakishvili8-Apr-08 7:06
mentorGiorgi Dalakishvili8-Apr-08 7:06 
GeneralRe: (De)serialization progress Pin
Stevo Z8-Apr-08 7:13
Stevo Z8-Apr-08 7:13 
GeneralRe: (De)serialization progress Pin
Giorgi Dalakishvili8-Apr-08 7:50
mentorGiorgi Dalakishvili8-Apr-08 7:50 
GeneralRe: (De)serialization progress Pin
Dave Kreskowiak8-Apr-08 7:24
mveDave Kreskowiak8-Apr-08 7:24 
GeneralRe: (De)serialization progress Pin
Stevo Z8-Apr-08 7:37
Stevo Z8-Apr-08 7:37 
QuestionAny customize control like this? Pin
hitdemo8-Apr-08 6:10
hitdemo8-Apr-08 6:10 
GeneralDataGridViewComboBoxCell Problem Pin
Linn728-Apr-08 5:35
Linn728-Apr-08 5:35 
GeneralRe: DataGridViewComboBoxCell Problem Pin
Ravenet8-Apr-08 16:03
Ravenet8-Apr-08 16:03 

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.