Input And Output On Same Page
how you would go about having an input and output on the same page. Like say if the page starts out with a form then you submit and the output is displayed below the input form so that the user can just enter another date and a different output is displayed?
View Replies
ADVERTISEMENT
I hope somone can offer some advice. I have built a database accepting information through ASP from clients in UK, Germany France and Russia. I set the ASP codepage to 65001 and the charset to UTF-8 and thought this would be enough to present the information from the different sources correctly.
Russian and English are OK but German and French produse peculiar chars. Set the codepage to 1252 and Russian goes awry. Has anyone some pointers to setup a truly international CMS?
View Replies
View Related
I need to publish and save the output of my .asp page as .htm
View Replies
View Related
I have an ASP page split up with three different frames. One of the frames takes long time to load (due to long running function) and the first two are loaded before the most important one - loaded about 5 seconds later. Is there a way to synchronize the output so that the other frames wait for the last one to load?
View Replies
View Related
i have been able to get the data to output like copy.asp?page=about which is what the code below does but i need to get the subpage if there is on like:copy.asp?
page=about&Subpage=company
<%
page = request.querystring("Page")
SQLTemp = "SELECT * FROM Content_tbl WHERE Page='" & Request.QueryString("Page") & "'"
set rstemp=Conn.execute(SQLTemp)
Do While Not rstemp.EOF
%>
View Replies
View Related
I need the ability to email the output of an asp page to someone. I've seen it around enough that I'm guessing it's pretty basic, but I haven't come up with the google search that'll get me what I need.
I know how to send an html email, but I can't figure out how to get the contents of that page into a variable. The pages I want to send are like this one: Code:
View Replies
View Related
The result of my asp page will not change for a week. So instead of querying
the database every time a user visits this page, an HTML page is sent to the
browser. How can I accomplish this?
View Replies
View Related
I wish to catch the output of an asp page after it is executed into a
string I.e.
Dim htmlOutput
htmlOutput = someobject.execute("nameoffile.asp")
View Replies
View Related
i create a dynamic table to modify user/account for administrative management.
I have modify & delete function to be performed.
The idea is that when the admin click the Delete link, he can delete a particular account/user. is it possible to pass variable of buff value to recID?? because when i see the result of request.querystring("recID"), i does not pass the mumerical value sound pretty simple but i can't get it. Code:
View Replies
View Related
Was thinking of having an array inside a asp page. I'm rather new to this.How do I begin. my asp page should work as follows.One html page include mail adresses. We receive a lot of junk mail and I was thinking of how to avoid this. Was thinking of creating a asp page with an inout string inside the asp page. The input number should refer to the users mail adress.
We are only four people in our office, so that should be simple to manage.The html code should be like "redirect.asp?" for the first mail adress. and redirect.asp?What's the syntax inside the asp page?
View Replies
View Related
I have a problem to keep the input value from user still keep. The condition when User input , let me say" Employee Code","Employee Name","Level", then the user input all the 3 field, but when the user submit the employee code not unique/already had by another record,then the problem is after that Employee Name and level input value empty again. Then How to keep the input value....with that condition.....i have no idea....
View Replies
View Related
I have an ASP page which users can call with various parameters to generate
data for reports.
However, some users who specifiy very few parameters and so generate a large
result page are geting challenged for their network credentials after approx
30 seconds.
When they enter their credentials for the third time the page returns with a
401 "You are not authorized to use this page"
Yet if they specify more parameters (and so get a smaller result page) then
the page returns normally.
If checked the query in the database and it runs fine with no errors, so I
ssupect I'm hitting some sort of buffer limit within IIS? Code:
View Replies
View Related
I have a little code to add multiple items to a shopping cart based
page. This code works perfect, but it adds all of the info to the
same input fields every time it loops. I need it to change the input
names each time it loops. Here is the code:
View Replies
View Related
I have being working with making an edit field over the past few days. The edit function is now working fine. The edit fields that i have are for id, subject, notes, timedate.
All of the edit screens are one line text screens. What I want to do now is increase the size of the notes box to a larger textarea type box to make it easier to edit notes. The notes field in the db is a textarea field. Code:
View Replies
View Related
How can I retrieve the output that has been sent to the client, e.g
[vbs]
<html>
<head><title>Test</title></head>
<body>
this is output
</body>
</html>
<%
Dim strContents
'Now I want to put the contents in an variable, something like
strContents = Response.Contents '(but that doesn't work)
%>
[/vbs]
View Replies
View Related
With this line of command :
Response.ContentType = "application/vnd.ms-excel"
I can output a file in XLS format with no problem.
But on a specific server, the file pops as an ASP page. My code is fairly simple.
Does the server need to have Excel installed in order to work ??
View Replies
View Related
How do I output an ASP variable insde of Javascript?
View Replies
View Related
The problem i have in my system you can seacrh clients and then display their details. what i wanna do is find the client i want and then have a button called e.g. generate and then the asp pops up a word or rtf document with there details sloted in to a preformatted document.
Now i know i could do this by creating the doc line by line with asp on the file but is there a faster way of just inserting the asp values into placeholders in the word or rtf file which has already been setup?
View Replies
View Related
I'm having a problem controlling the output from an access db and the css two column layout. It goes like this.Left side has a connection string and outputs 3 columns of db data to the leftside of the page. There is also a conection string on the right side of the page. It outputs that db data AFTER the right side processes that data. So the page is staggered, left to right instead of displaying the results across from each other.
View Replies
View Related
I have an ASP program. It outputs HTML with some
XML data islands in it. When I run the program, the
browser sees the HTML and doesn't work the way
I want it to. however, if I view source on the output
page, save the source as an XML file, then open the
saved file, it works properly.
How do I get the browser to treat the output from an
ASP program as XML instead of HTML?
View Replies
View Related
How can I send gzipped (compressed) output back to the browser, using ASP (and IIS)?
I'm looking for a function similiar to PHP's ob_start("ob_gzhandler"); function.
View Replies
View Related
This is really puzzling me; I am developing a site for a client and have uploaded it to a remote server with ASP enabled; I and my friends do not have a problem diplaying the output HTML from my ASP statements however, my client is unable to see it. He says he can see all the other page (CSS layout) but is unable to view the content (output HTML) from my ASP statement.
Now I am clever enough to know that ASP is server side, so I cannot understand why he can't see it- and he has tried this with two of his computers.
The only possible explanation that I can come up with is that he may have Javascript disabled in his browser as my pages contain a small amount of Javascript.
View Replies
View Related
if guy can help how to output if my customer make reservation....enter everything ..etc enter first name, last name. then after click make reservation button it will come out his/her name on the page for his/her referrence ...then it will clear once another customer enter it.
View Replies
View Related
This might sound stupid to you guys, ok i have this:
------------------------------------------------------------
perc = (total*100)/limit
response.write (" You are using ")
response.write perc
response.write (" % Of your 1GB")
-------------------------------------------------------------
but on the output i just need the first two digits, but i get this
You are using 21.8057899 % Of your 1GB
View Replies
View Related
Please guide me. How can I output the records from my recordset in columns in a table? That is, instead of just one record per row in a table, how can I have multiple records per row?
View Replies
View Related
There is no error in the code but can't get output from this code;
<html>
<head>
<title>g</title>
</head>
<% set db=server.CreateObject("ADODB.Connection")
db.Provider="Microsoft.Jet.OLEDB.4.0"
db.open "C:/data/CIS_data.mdb"
VarQuery="SELECT FullName,ICNo FRoM Patient_Details"
set rs=db.Execute(VarQuery) %>
<% Do while NOT rs.EOF %>
<% rs.movenext %>
<% Loop %>
<% rs.close %>
</html>
</head>
View Replies
View Related
if something similar to php (ob_get_contents(), output
buffering) exists in ASP/VBscript.
View Replies
View Related
I haven't being doing that much in ASP, but I have to create this:
It has to read out data from some DB to excel.
The following (corrected) code works if just it outputs as html, once
the Response.ContentType is excel. then it offers to open/save the
file, and stops - file not found - what do I do wrong? Code:
View Replies
View Related
this question is not about SQL exactly
so, I am asking here.
how to get output from sql procedure ?
my sql p. like below
Code:
if not exists(select .....................)
set @result=0
else
set @result=1
so, how can I get @result in ASP
View Replies
View Related
Does anyone know of any freely usable code that helps automate the
process of generating RTF files from ASP (particularly generating the
code needed for tables)?
View Replies
View Related
I created an RSS script for my readers to use, but I have been having some minor issues with it.
Actuallyit works fine and I have tested it in 3 feed readers without a problem. Still it does not output as perfect XML if you go here you will see what I mean. Code:
View Replies
View Related
GOT IT
SOLUTION= replace((date), "/", "")
how can i output todays date like this
11302006 ??
View Replies
View Related
I am trying to build a knowledge base for use in out internal IT department. It uses SQL to store the data and at first just printing out the questions and answers in a table in plain text was great, but now I have run into a place where there needs to be links and line breaks and spacing. Formatting in general is going to be needed for anything with an answer over 1 line long.
It also needs to be able to be updated. I have the code working for the update right now, but I am not sure how to go about getting the ouput from the database to display where links are highlighted and such.
View Replies
View Related