This is a discussion on "ASP TO EXCELL" within the Classic ASP section. This forum, and the thread "ASP TO EXCELL are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
ASP TO EXCELL
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
ASP TO EXCELL
hai everyone...
I wonder if an asp page can interact with excell page? I have desing an excel page that I used tu input STUDENT NAME and their EXAM MARK (0% TO 100%), later it will display some statistic in the bottom of the page, such as HOW MANY GETS AN 'A' OR HOW MANY FAILED ETC... Now, i was wondering if i could design an asp page with two input text field that will be used to input STUDENT NAME and their EXAM MARK (fixed 30 list of student), and then submit the page, the data will be sent to the excel page that i have created earlier. anybody have a better idea?
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
|
|
||||
|
Why not use an access database with those two fields?
You can then create a CSV file from the results and import that into Excel.
__________________
Rob - SEO Specialist Owner & Founder of Webforumz.com I am currently unavailable for private work
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
|||
|
Well actually, I am new with mc access and I dont know much about designing database queries that involves calculation.
But with excel, I know a little bit. So...am I seeing a light at the end of the turnel Can my problem be solved according to my idea that i've poster earlier? What CSV by the way? Thanx rob for replying my Question.
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
|||
|
An excel spreadsheet can be used as a database. Use this connections tring (from www.connectionstrings.com):
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\MyExcel.xls;Extended Properties=""Excel 8.0;HDR=Yes;IMEX=1""" notes: "HDR=Yes;" indicates that the first row contains columnnames, not data "IMEX=1;" tells the driver to always read "intermixed" data columns as text TIP! SQL syntax: "SELECT * FROM [sheet1$]" - i.e. worksheet name followed by a "$" and wrapped in "[" "]" brackets. |
|
|||
|
OK...I found this code in the internet and I just couldnt find whats the problem with it.
This code accept 3 input from the user and then send the data to excel... Could anybody help me?
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
|||
|
looks like its missing the class 'act'
|
|
||||
|
you are right.... that code is no class act.
__________________
Rob - SEO Specialist Owner & Founder of Webforumz.com I am currently unavailable for private work
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
|||
|
What should I do with that...?
I downloaded the code from http://www.codeave.com/asp/code.asp?u_log=148 I just dont know how to make the code works on my pc... Could anybody guide me please...
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
![]() |
| Tags |
| asp, excell |
| Thread Tools | |
|
|