Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Using + and & signs in ASP net (glueing strings together)


Message #1 by "Jose Haymaker" <ehaymaker@a...> on Wed, 26 Dec 2001 22:43:49

in Classic ASP I was using plus sings and ampersands in a string like this"

arr=arr+myDataReader.item("columnsname")+"?#$"



but ASP.NET is telling me that "Type-declaration character '&' does not 

match declared data type 'System.Array'."



Or



The operands to '+' are of types 'System.Array' and 'System.Object', which 

are not appropriate for this operator



Is there a way to add these things together in ASP.NET?


  Return to Index