Click here to Skip to main content
15,912,329 members
Home / Discussions / C#
   

C#

 
AnswerRe: Working with Decimals Pin
Matthew Butler30-May-08 3:34
Matthew Butler30-May-08 3:34 
AnswerRe: Working with Decimals Pin
CPallini30-May-08 3:39
mveCPallini30-May-08 3:39 
GeneralRe: Working with Decimals Pin
Jim Warburton30-May-08 4:27
Jim Warburton30-May-08 4:27 
AnswerRe: Working with Decimals Pin
buchstaben30-May-08 3:40
buchstaben30-May-08 3:40 
GeneralRe: Working with Decimals Pin
Jim Warburton30-May-08 4:26
Jim Warburton30-May-08 4:26 
QuestionDotNet Remoting : Event Listner not working in Client App Pin
moobo30-May-08 2:40
moobo30-May-08 2:40 
AnswerRe: DotNet Remoting : Event Listner not working in Client App Pin
Bert delaVega30-May-08 4:47
Bert delaVega30-May-08 4:47 
QuestionHelp with Excel Pin
MumbleB30-May-08 2:06
MumbleB30-May-08 2:06 
Hi Guys. Maybe somebody here can help me. I'm writing a little app that writes records from a text file to an Excel file. However, I am writing data to two columns, namely A2 and B2. Problem here is that Every record gets appended to the same cell A2 and B2 instead of going onto writing the next record to A3 and B3 etc. Any ideas what I'm doing wrong here?

Code below:

foreach (ReadFile nomread in res)
{
    //start a new workbook and worksheet.
        objRange = objSheet.get_Range("A2", System.Reflection.Missing.Value);
        objRange.Value2 += nomread.CLIENTSURNAME;
        objRange = objSheet.get_Range("B2", System.Reflection.Missing.Value);
        objRange.Value2 += nomread.CLIENTFORENAMES;
}


Sigh | :sigh:

Excellence is doing ordinary things extraordinarily well.

AnswerRe: Help with Excel Pin
parth.p30-May-08 2:28
parth.p30-May-08 2:28 
GeneralRe: Help with Excel Pin
MumbleB30-May-08 2:44
MumbleB30-May-08 2:44 
GeneralRe: Help with Excel Pin
parth.p30-May-08 2:47
parth.p30-May-08 2:47 
GeneralRe: Help with Excel Pin
MumbleB30-May-08 2:52
MumbleB30-May-08 2:52 
GeneralRe: Help with Excel Pin
parth.p30-May-08 2:53
parth.p30-May-08 2:53 
GeneralRe: Help with Excel Pin
MumbleB30-May-08 3:19
MumbleB30-May-08 3:19 
GeneralRe: Help with Excel Pin
parth.p30-May-08 3:39
parth.p30-May-08 3:39 
Questionavi to mpeg conversion in C# Pin
DeepOceans30-May-08 1:53
DeepOceans30-May-08 1:53 
AnswerRe: avi to mpeg conversion in C# Pin
carbon_golem30-May-08 2:25
carbon_golem30-May-08 2:25 
Questionthis application has failed to start because the application configuration [modified] Pin
neyerMat30-May-08 1:44
neyerMat30-May-08 1:44 
QuestionProblem to show PrintPreview with WebBrowser. Pin
hdv21230-May-08 1:31
hdv21230-May-08 1:31 
QuestionFiltering a typed datatable problem Pin
blakey40430-May-08 0:17
blakey40430-May-08 0:17 
AnswerRe: Filtering a typed datatable problem Pin
Rob Smiley30-May-08 5:25
Rob Smiley30-May-08 5:25 
GeneralRe: Filtering a typed datatable problem Pin
blakey40430-May-08 7:51
blakey40430-May-08 7:51 
GeneralRe: Filtering a typed datatable problem Pin
blakey40430-May-08 7:57
blakey40430-May-08 7:57 
GeneralRe: Filtering a typed datatable problem Pin
Rob Smiley30-May-08 8:56
Rob Smiley30-May-08 8:56 
AnswerRe: Filtering a typed datatable problem Pin
blakey40430-May-08 12:59
blakey40430-May-08 12:59 

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.