Igor,
I got it now, it’s works well.
I asked asp to translate to xml and my flex app works.
Thank you
 
  _____  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Igor 
Costa
Sent: Wednesday, February 14, 2007 3:08 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex and ASP
 
Alian

Where's the MXML code?

You could send it too, it would must to see what's going on out there.

Best.
--Igor Costa
On 2/14/07, Alain Henner <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> fr> 
wrote:
 Hi guys,
 
I have some problems connecting flex app with a database SQL server 2005.
Here is the asp script I wrote:
<%@ LANGUAGE="VBSCRIPT" %>
<%
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.ConnectionTimeout = 15
Conn.CommandTimeout = 30
Conn_Catalog = "---------"
Conn_UserID = "----------"
Conn_Password = "---------"
Conn_DataSource = "------------"
 
conn.Open "Provider=sqloledb; Data Source=" & Conn_DataSource & "; Initial 
Catalog=" & Conn_Catalog & "; User Id=" & Conn_UserID & "; Password=" & 
Conn_Password
 
SQL="SELECT * FROM [Membres]"
Set RS = server.createobject("ADODB.Recordset")
RS.Open SQL,Conn , 3, 3
 
 
while not RS.eof %>
   <%=RS("prenom")%> - <%=RS("nom")%> - <%=RS("courriel")%><br>
   <%RS.MOVENEXT ' fiche suivante
wend
 
 
RS.close
 
conn.close : Set conn=nothing 
%>
 
And it works but not with the flex app.
 
Any help will be welcome
Thanks
Alian



-- 
----------------------------
Igor Costa
www.igorcosta. <http://www.igorcosta.org> org
www.igorcosta. <http://www.igorcosta.com> com
skype: igorpcosta 
 
---------------------------------------------------------------------------------------
Orange vous informe que cet e-mail a été contrôlé par l'anti-virus mail.
Aucun virus connu à ce jour par nos services n'a été détecté.
 

Reply via email to