Is there anything wrong in this statement [modified]
-
fireDiary = ""+""+""+ ""+""+ "+06/07/200706/07/2007"+ ""+aouserid.InnerText+""+"Testing POC"+ "ForPOC+Testing diary for POC. This is being triggered from Custom override+"+ ""+aouserid.InnerText+"++{B6398B1E-43D3-4521-BFE3-235C2073AFF4}"+ "Open"; -- modified at 23:43 Friday 15th June, 2007
-
fireDiary = ""+""+""+ ""+""+ "+06/07/200706/07/2007"+ ""+aouserid.InnerText+""+"Testing POC"+ "ForPOC+Testing diary for POC. This is being triggered from Custom override+"+ ""+aouserid.InnerText+"++{B6398B1E-43D3-4521-BFE3-235C2073AFF4}"+ "Open"; -- modified at 23:43 Friday 15th June, 2007
saymajum wrote:
Is there anything wrong in this statement
There is definitely something wrong with the question. First, what should this statement do? Second, what is not being done what should be done i.e. what is going wrong? Third, are you sure the statement displays as it should be? Especially the first line looks pretty weird.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook
-
fireDiary = ""+""+""+ ""+""+ "+06/07/200706/07/2007"+ ""+aouserid.InnerText+""+"Testing POC"+ "ForPOC+Testing diary for POC. This is being triggered from Custom override+"+ ""+aouserid.InnerText+"++{B6398B1E-43D3-4521-BFE3-235C2073AFF4}"+ "Open"; -- modified at 23:43 Friday 15th June, 2007
For starters, you didn't check 'ignore tags', so your message was not legible. Second, what do YOU think is wrong with it, and why ? And why do you think someone would trawl through all that code looking for an error ?
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
fireDiary = ""+""+""+ ""+""+ "+06/07/200706/07/2007"+ ""+aouserid.InnerText+""+"Testing POC"+ "ForPOC+Testing diary for POC. This is being triggered from Custom override+"+ ""+aouserid.InnerText+"++{B6398B1E-43D3-4521-BFE3-235C2073AFF4}"+ "Open"; -- modified at 23:43 Friday 15th June, 2007
Who knows... But I can tell you two things at first glance to consider: 1. This is a C# question, not an XML question. ..and.. 2. System.Text.StringBuilder is your friend.
Try code model generation tools at BoneSoft.com.