0
I have an excel sheet containing 2 columns .ex of first column[sil th ih s sp m ae n sp] I want to convert this first co
I have an excel sheet containing 2 columns .ex of first column[sil th ih s sp m ae n sp] I want to convert this first column to second column in this form[sil th+ih th-ih+s ih-s sp m+ae m-ae+n ae-n sp]. how I do this in c# . I tried : if (oRng.Cells[rCnt, cCnt] != null && oRng.Cells[rCnt, cCnt].Value2 != null) { if (oRng.Cells[rCnt, cCnt] = Convert.ToBoolean(Convert.ToInt32("h#"))) { oRng.Cells[rCnt, cCnt + 1] = oRng.Cells[rCnt, cCnt]; } but error:string input wasnot in correct format.
2 Antworten
0
Is this on SoloLearn, or can you put it in a SoloLearn private program to share on this thread?
0
What int32 are you expecting h# to convert into?
Is that supposed to be a hex number”