the source code
<%
' pass the filename of a file located in C:\upload\
file=Request.QueryString("file")
con_xls="Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:\upload\\test.xls;Extended
Properties=""Excel 8.0;HDR=Yes;IMEX=1"""
set conn=server.CreateObject("ADODB.Connection")
conn.open(con_xls)
set rs = conn.execute ("select * from " & file)
%>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
</HEAD>
<BODY>
<table border=1>
<%
if not rs.eof then
%>
<% do until rs.EOF %>
<tr>
<%
' there are 16 columns in this file, but I don't know how to define a
variable of the number of columns
for i =0 to 15
%>
<td> <%= rs(i)%> </td>
<%next%>
</tr>
<% rs.MoveNext
loop
end if
%>
</table>
</BODY>
</HTML>
"Ray at <%=sLocation%>" <myfirstname at lane 34 . komm> wrote in message
news:%...
> How are you "selecting" it and "displaying" it?
>
> Ray at home
>
> "atse" <> wrote in message
> news
uMfb.102429$ ble.rogers.com...
> > Hi,
> >
> > When I select a filed from a txt or csv file, and display on the ASP,
the
> 16
> > digit of barcode number (9876543210123456) becomes to
> 9.87654321012345E+15.
> > How can I make it display the original. Thanks
> >
> > Atse
> >
> >
>
> >