• 0
Sign in to follow this  
Joaozava

Livro De Visitas

Question

Tava tentando fazer um exemplo de um livros de vistas do macoratti, que grava as mensagens num arquivo xml, mas ta dando esse erro:

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30002: Type 'script' is not defined.

Source Error:

Line 2:  <script runat="server">

Line 3: 

Line 4:      <script language="VB" runat="server">

Line 5:     

Line 6:      ' Declara as strings para apontar para os arquivos XML and XSD

q q ta errado????

o link pra pagina q tem o código é esse:

http://www.macoratti.net/aspn_vst.htm

Eu não mudei nada, so copiei biggrin.gif

vlw! smile.gif

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

O erro acima eu consegui resolver smile.gif

mas agora ta dando esse erro: sad.gif

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30002: Type 'XmlDataDocument' is not defined.

Source Error:

Line 9:      ' Le o arquivo XML em um XmlDataDocument assim podemos acessá-lo via DataSet

Line 10:   

Line 11:      Dim myXmlDataDocument As New XmlDataDocument()

Line 12:      myXmlDataDocument.DataSet.DataSetName = "LivrodeVisitas"

Line 13:      myXmlDataDocument.DataSet.ReadXmlSchema(strXmlSchema)

alguém Pode me ajudar??? huh.gif

vlw!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this