Jump to content
Fórum Script Brasil
  • 0

Conteudo Do List....


willianpp

Question

ae pessoal...

olha só...

tenho um listmenu q pega os dados do banco...

e quero carregar o item seleciondo em uma outra pag...

mas ta dando esse erro...

deem uma olhada pra mim... pf!!!

Tipo de erro:

Erro de tempo de execução do Microsoft VBScript (0x800A000D)

Tipos incompatíveis

/cadastro/calcula.asp, line 27

****eis o codi.

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<title>calcular e inserir no banco</title>

</head>

<body>

<%

dim lista, rstsql, rstsearch, conexao

Set Conexao = Server.CreateObject("ADODB.Connection")

Conexao.Open "DBQ=C:\Inetpub\wwwroot\contato.mdb;Driver={Microsoft Access Driver (*.mdb)}"

lista=request.Form("lista")

%>

<form id="form1" name="form1" method="post" action="">

<label>

<input name="txtnome" type="text" id="txtnome" value="<%=rstsearch("lista")%>"/>

</label>

</form>

</body>

</html>

***

a linha 27 é a linha do <input id.......

***

no aguardo...

Will

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

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.



  • Forum Statistics

    • Total Topics
      152k
    • Total Posts
      651.5k
×
×
  • Create New...