Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Classic ASP 1

Status
Not open for further replies.

millzy7

Programmer
Dec 9, 2003
96
US
What is the tag i need to add to an asp.net file for it to supprt classic asp?
 
There isn't one as far as I know. Classic ASP is supported by the ASP.NET engine but not recommended.

What are you actually trying to do?


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
I'm trying to create an xml document using asp.net using VB.

dim writer as xmltextwriter
writer=new xmltextwriter("photo.xml",null)

But I get this error from this code. i tried replacing null with System.DBNull or just DBNull but that doesnt work either

'null' is not declared. 'Null' constant is no longer supported; use 'System.DBNull' instead.
 
I'm not sure what that code has to do with classic ASP (which was your original question).

Anyway, try passing through the Nothing keyword...


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Thanks very much

Replacing Null with Nothing fixed it

Thanks

Millzy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top