xpo
|
| Posted: 08/16/2002, 6:18 AM |
|
Hello,
I lost several day to do something with CC, but have no success,
I hope - here have people who's help me.
I want to do this :
<% option explicit %>
<% Dim con, rst
Set con = server.CreateObject("ADODB.CONNECTION")
Con.Open "DBQ=" & Server.MapPath("dbase.mdb") & ";Driver={Microsoft Access Driver (*.mdb)};DriverId=25;MaxBufferSize=16384;Threads=20;"
%>
<table width="100%" border=0>
<tr><td width="10%">ID</TD><TD width="90%">NAME</TD></TR>
<%
Set Rst = con.Execute("Select * FROM TUsers;")
Do While Not Rst.eof
if CBool(Rst("Valid"))=True Then
%>
<tr><td><%=rst("ID")%></td><td><%=rst("Name")%></td></tr>
<%
End if
rst.movenext
Loop
Rst.close
set rst = nothing
con.Close
%>
</table>
but with codecharge, i have no success.
help me . pls...
|
|
|
 |
Ron
|
| Posted: 08/16/2002, 7:01 AM |
|
Hello,
I see you're new to CC. Just create new project and use wizard to create page and grid form...
add where clause to the query like:
where Valid = true
I advice you to refer to CC docs to understand how it works. The link to the tutorials, manual and useful CC related articles is: http://support.codecharge.com/tutorials.asp?product_id=1
|
|
|
 |
|