Puuuutttzzzz, era isso???
Afe!!
Já testei aqui e deu certo!!! Logo a primeira opção
Valew ae Info_Tec e a todos que me ajudaram
Falows!
- Fórum WMO
- → Viewing Profile: Posts: lagoaseca
Community Stats
- Group Usuários
- Active Posts 3
- Profile Views 221
- Member Title Novato no fórum
- Age Age Unknown
- Birthday Birthday Unknown
-
Sexo
Não informado
0
Neutral
User Tools
Friends
lagoaseca hasn't added any friends yet.
Latest Visitors
-
Guest
04/11/2007, 06:48
Posts I've Made
In Topic: Comando Replace. Não O Entendo :(
02/07/2004, 01:02
In Topic: Comando Replace. Não O Entendo :(
01/07/2004, 22:18
Puz pessoal não me xinguem, mas ainda não consegui fazer essa bendita função funcionar!! Fica dando erro na linha da Função, droga.
Tentei milhões de vezes e nada...
Agora eu pesso o seguinte:
Quem puder MONTAR a função replace toda para o código asp abaixo fazendo umas 3 linhas de substituições de caractere pra eu ver se consigo enteder eu agardeço!
Segue o código simples, feito no dreanweaver.....
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<!--#include file="file:///c|******.asp" -->
<%
Dim RECORDSET
Dim RECORDSET_numRows
Set RECORDSET = Server.CreateObject("ADODB.Recordset")
RECORDSET.ActiveConnection = MM_BlogBR_STRING
RECORDSET.Source = "SELECT texto FROM Blog"
RECORDSET.CursorType = 0
RECORDSET.CursorLocation = 2
RECORDSET.LockType = 1
RECORDSET.Open()
RECORDSET_numRows = 0
%>
<%
Dim Repeat1__numRows
Dim Repeat1__index
Repeat1__numRows = -1
Repeat1__index = 0
RECORDSET_numRows = RECORDSET_numRows + Repeat1__numRows
%>
<html>
<head>
<title>Documento sem título</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<p>Exemplo:</p>
<%
While ((Repeat1__numRows <> 0) AND (NOT RECORDSET.EOF))
%>
<p><%=(RECORDSET.Fields.Item("texto").Value)%></p>
<p> </p>
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
RECORDSET.MoveNext()
Wend
%>
<p> </p>
</body>
</html>
<%
RECORDSET.Close()
Set RECORDSET = Nothing
%>
... onde o destaque em vermelho é exatamente a coluna do BD que é chamada, e onde terá que ser feito os replaces!!
Alguém pode montar a função replace todinha??
Por favor, to precisando muito.
Valew!!!
Tentei milhões de vezes e nada...
Agora eu pesso o seguinte:
Quem puder MONTAR a função replace toda para o código asp abaixo fazendo umas 3 linhas de substituições de caractere pra eu ver se consigo enteder eu agardeço!
Segue o código simples, feito no dreanweaver.....
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<!--#include file="file:///c|******.asp" -->
<%
Dim RECORDSET
Dim RECORDSET_numRows
Set RECORDSET = Server.CreateObject("ADODB.Recordset")
RECORDSET.ActiveConnection = MM_BlogBR_STRING
RECORDSET.Source = "SELECT texto FROM Blog"
RECORDSET.CursorType = 0
RECORDSET.CursorLocation = 2
RECORDSET.LockType = 1
RECORDSET.Open()
RECORDSET_numRows = 0
%>
<%
Dim Repeat1__numRows
Dim Repeat1__index
Repeat1__numRows = -1
Repeat1__index = 0
RECORDSET_numRows = RECORDSET_numRows + Repeat1__numRows
%>
<html>
<head>
<title>Documento sem título</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<p>Exemplo:</p>
<%
While ((Repeat1__numRows <> 0) AND (NOT RECORDSET.EOF))
%>
<p><%=(RECORDSET.Fields.Item("texto").Value)%></p>
<p> </p>
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
RECORDSET.MoveNext()
Wend
%>
<p> </p>
</body>
</html>
<%
RECORDSET.Close()
Set RECORDSET = Nothing
%>
... onde o destaque em vermelho é exatamente a coluna do BD que é chamada, e onde terá que ser feito os replaces!!
Alguém pode montar a função replace todinha??
Por favor, to precisando muito.
Valew!!!
- Fórum WMO
- → Viewing Profile: Posts: lagoaseca
- Privacy Policy
- Regras ·