Click here to Skip to main content
15,795,318 members
Home / Discussions / C#
   

C#

 
QuestionHow to merge cells in Excel using C# Pin
Ismael Oliveira 202112-Aug-21 13:43
Ismael Oliveira 202112-Aug-21 13:43 
AnswerRe: How to merge cells in Excel using C# Pin
Richard MacCutchan12-Aug-21 22:35
mveRichard MacCutchan12-Aug-21 22:35 
GeneralRe: How to merge cells in Excel using C# Pin
Ismael Oliveira 202113-Aug-21 14:45
Ismael Oliveira 202113-Aug-21 14:45 
GeneralRe: How to merge cells in Excel using C# Pin
Richard MacCutchan13-Aug-21 22:44
mveRichard MacCutchan13-Aug-21 22:44 
GeneralRe: How to merge cells in Excel using C# Pin
Ismael Oliveira 202114-Aug-21 13:46
Ismael Oliveira 202114-Aug-21 13:46 
GeneralRe: How to merge cells in Excel using C# Pin
Richard MacCutchan14-Aug-21 22:09
mveRichard MacCutchan14-Aug-21 22:09 
QuestionPassing a variable from an string to a For loop Pin
Alex Dunlop12-Aug-21 0:55
Alex Dunlop12-Aug-21 0:55 
AnswerRe: Passing a variable from an string to a For loop Pin
Pete O'Hanlon12-Aug-21 3:28
subeditorPete O'Hanlon12-Aug-21 3:28 
I might be being really thick here but I can't see what you're wanting to do with that string in your loop. It must serve some purpose, so what is it that you are trying to do with it? BTW, I assume your for statement actually means to read:
C#
for(int i = 0; i < dt.Rows.Count; i++)


GeneralRe: Passing a variable from an string to a For loop Pin
harold aptroot12-Aug-21 3:42
harold aptroot12-Aug-21 3:42 
AnswerRe: Passing a variable from an string to a For loop Pin
Richard Deeming12-Aug-21 3:48
mveRichard Deeming12-Aug-21 3:48 
AnswerRe: Passing a variable from an string to a For loop Pin
jsc4212-Aug-21 4:08
professionaljsc4212-Aug-21 4:08 
AnswerRe: Passing a variable from an string to a For loop Pin
Dave Kreskowiak12-Aug-21 4:32
mveDave Kreskowiak12-Aug-21 4:32 
AnswerRe: Passing a variable from an string to a For loop Pin
Gerry Schmitz12-Aug-21 5:13
mveGerry Schmitz12-Aug-21 5:13 
AnswerRe: Passing a variable from an string to a For loop Pin
OriginalGriff12-Aug-21 5:20
mvaOriginalGriff12-Aug-21 5:20 
GeneralRe: Passing a variable from an string to a For loop Pin
Alex Dunlop12-Aug-21 7:16
Alex Dunlop12-Aug-21 7:16 
GeneralRe: Passing a variable from an string to a For loop Pin
OriginalGriff12-Aug-21 7:36
mvaOriginalGriff12-Aug-21 7:36 
GeneralRe: Passing a variable from an string to a For loop Pin
Alex Dunlop12-Aug-21 9:55
Alex Dunlop12-Aug-21 9:55 
GeneralRe: Passing a variable from an string to a For loop Pin
OriginalGriff12-Aug-21 23:49
mvaOriginalGriff12-Aug-21 23:49 
GeneralRe: Passing a variable from an string to a For loop Pin
Alex Dunlop13-Aug-21 8:26
Alex Dunlop13-Aug-21 8:26 
GeneralRe: Passing a variable from an string to a For loop Pin
Alex Dunlop13-Aug-21 8:31
Alex Dunlop13-Aug-21 8:31 
GeneralRe: Passing a variable from an string to a For loop Pin
OriginalGriff14-Aug-21 2:35
mvaOriginalGriff14-Aug-21 2:35 
GeneralRe: Passing a variable from an string to a For loop Pin
Alex Dunlop13-Aug-21 8:39
Alex Dunlop13-Aug-21 8:39 
QuestionHow to split an string and remove extra spaces Pin
Alex Dunlop10-Aug-21 23:55
Alex Dunlop10-Aug-21 23:55 
AnswerRe: How to split an string and remove extra spaces Pin
Richard MacCutchan11-Aug-21 0:39
mveRichard MacCutchan11-Aug-21 0:39 
AnswerRe: How to split an string and remove extra spaces Pin
Pete O'Hanlon11-Aug-21 8:33
subeditorPete O'Hanlon11-Aug-21 8:33 

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.