If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Wht' wrong with this string!!

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-20-04, 10:07
kalanad kalanad is offline
Registered User
 
Join Date: Oct 2004
Posts: 7
Exclamation Wht' wrong with this string!!

Hi experts,
See This one line code in my Aspx Page.

Response.Write("<script>window.close();</script>")

What's wrong in it??
When I open the page I get the error message:

************************************************** *************
Compiler Error Message: BC30648: String constants must end with a double quote.

Source Error:

Line 42:
Line 43: Sub Button2_Click(sender As Object, e As EventArgs)
Line 44: Response.Write("<script>window.close();</script>")
Line 45: End Sub
Line 46:

************************************************** *************
Error is shown In Line No: 44: The string is within 2 double quotes .. Still What's wrong with me.. Please help.

Any Idea ??

Kalanad
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On