CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > migration_to_asp.net.migrating_from_asp_to_asp.net Tags:
Item Type: NewsGroup Date Entered: 7/4/2006 8:30:51 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 40 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
RobM_01
Asp.Net User
Operator '&' is not defined for string7/4/2006 8:30:51 AM

0/0

The code below is used in classic asp but when I port it into asp.net and run it I get the message "Operator '&' is not defined for string ", any ideas why?

chers Rob.

 

DIM myXMLData

myXMLData = ""

myXMLData = myXMLData & "<?xml version=" & Chr(34) & "1.0" & Chr(34) & " encoding=" & Chr(34) & "UTF-8" & Chr(34) & "?>" & vbLf

myXMLData = myXMLData & "<gallery>" & vbLf

 

 

Operator '&' is not defined for string "<?xml version="1.0" encoding="UT" and type 'Field'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidCastException: Operator '&' is not defined for string "<?xml version="1.0" encoding="UT" and type 'Field'.

 

 

RobM_01
Asp.Net User
Re: Operator '&' is not defined for string7/4/2006 10:49:10 AM

0/0

I have done some testing and the problem is with this line and it appears to be the use of the recordset that it does not like.

any help with this please, hopefully its just a syntax thing.

& oRS_O("CatDesc") & 

 

myXMLData = myXMLData &

"<album id=" & Chr(34) & PDescVal & Chr(34) & " title=" & Chr(34) & oRS_O("CatDesc") & Chr(34) & ">" & vbLf
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
C++ how to Program: How to Program Authors: Paul J. Deitel, Pages: 1429, Published: 2008
JavaScript: The Definitive Guide Authors: David Flanagan, Pages: 916, Published: 2002
Principles of Object-oriented Modeling and Simulation with Modelica 2.1 Authors: Peter A. Fritzson, Pages: 897, Published: 2004
Java 2 Programmer: Exam Cram 310-035 Authors: Bill Brogden, Marcus Green, Ed Tittel, Pages: 416, Published: 2003
C# Annotated Standard Authors: Jon Jagger, Nigel Perry, Peter Sestoft, Pages: 825, Published: 2007
UNIX: The Complete Reference Authors: Kenneth H. Rosen, Douglas A. Host, Richard R. Rosinski, James Farber, Pages: 1302, Published: 1999
The C# Programming Language Authors: Anders Hejlsberg, Scott Wiltamuth, Peter Golde, Pages: 704, Published: 2006
Very Large Data Bases: 14th International Conference : Papers. Authors: Institute of Electrical and Electronics Engineers, Computer Society, ACM-SIGMOD, Pages: 0, Published: 1988
Programming in C Authors: Stephen G. Kochan, Pages: 373, Published: 1984
C++ Timesaving Techniques For Dummies Authors: Matthew Telles, Pages: 499, Published: 2005

Web:
Operator '&' is not defined for types 'String' and 'System.Web.UI ... NET and my string was working and all of a sudden it stopped working...any ideas ?? it say......Operator '&' is not defined for types ...
Operator '&' is not defined for string - ASP.NET Forums The code below is used in classic asp but when I port it into asp.net and run it I get the message "Operator '&' is not defined for string " ...
Operator & not defined error : defined, operator, string I'm trying to create a simple windows program (with visual studio 2005) that wil create a user into the Active Directory. I already created a code with ...
Operator '&' is not defined - MSDN Forums Sep 15, 2007 ... Operator '&' is not defined for types 'String' and 'System.Windows.Forms. CheckBox'. This is because the & is a string concatentation ...
p2p.wrox.com Forums - Operator '&' is not defined for types ... p2p.wrox.com Forums - operator '&' is not defined for types 'string' ... ExecuteNonQuery() ' to run command not to expect a result to give ...
operator '&' is not defined for types 'String' : defined, operator ... hi.. I want to update one table through qty fields after I put it in datagridview I make this statement: cmdUpdate.CommandText = UPDATE INVENTORY SET QTY ...
[RESOLVED] [2005] Error - Operator '=' is not defined for type ... [RESOLVED] [2005] Error - Operator '=' is not defined for type 'DBNull' and string "Null". Visual Basic .NET.
BC30452: Operator '&' is not defined for types 'String' and ... Compiler Error Message: BC30452: Operator '&' is not defined for types 'String' and 'System.Web.UI.WebControls.AccessDataSource'. ...
Web Wiz Forums - Operator ’&’ is not defined for types ’St All rights reserved. c:\inetpub\wwwroot\log.aspx(20) : error BC30452: Operator ' &' is not defined for types 'String' and 'System. ...
VB.NET - Operator '&' Is Not Defined | DreamInCode.net Operator '&' is not defined for types 'String' and '1-dimensional array of String. I don't know if maybe it has something to do with this: ...

Videos:
Web Applications and the Ubiquitous Web Google TechTalks February 1, 2006 Dave Raggett Dave Raggett is currently a W3C Fellow from Canon, and W3C Activity Lead for Multimodal Interaction....
Using Static Analysis For Software Defect Detection Google TechTalks July 6, 2006 William Pugh ABSTRACT I'll talk about some of my experience in using and expanding static analysis tools for defect d...




Search This Site:










installing the visual web developer - express edition

web.config change membership parameters

how can i add tow controls in one page?

html formated mail .

getting all the controls of toolstrip control

jit compiler

two parallel module in the same panel?

control events

override vs event

dynamically cast objects?

checkbox list with textbox

missing tabs

menu dropdown

sharepoint help

dll.

[beta 3] fix: treeview doesn't handle expanded state for second and subsequent treeview instances on same page

which datatype

asp.net development server promts for password

verification email missing

apologies to the forum: avoid tactical systems

newsletter module recommendation

iis 6 sub-domains and security

hi,help me !

dotnetnuke® software certification program...

<summary>

gridview inside repeater

an existing connection was forcibly closed by the remote host

dnn localization issue

login help!!!!

can i using c# to do the modules ?

 
All Times Are GMT