Printable Version Of ASP Page - Missing Record Set?
I have a script that makes a printer friendly version of the ASP Webpage, however when I use the printer friendly version of the page I dont get any information thats included in the orginal recordset of the page. How do I get the information accross to my printer friendly version of the page. Do i put the record set in the print.asp page? Code:
View Replies
ADVERTISEMENT
I have a really long webform that has hundreds of text fields, text boxes, labels, etc. I would like a button, that when clicked, will populate either a .doc, .pdf, .rtf, etc. file in a nice, printable format (perhaps from a template?) with a 'Save File' prompt displayed to the user.
I don't know how to do this, but I can get the data from either the webform itself, or from the SQL database (which is where I'm populating the webform anyway). Simply clicking FilePrint from IE is not acceptable because we need a document that we can distribute electronically. How can I populate one of these file types from a webform or database?
View Replies
View Related
I have a page with some search criteria at the top. On submit, I am displaying my query results for this criteria. I need the user to just be able to print the results without the search criteria. Whats the best/easiest way to achieve this? Frames? Printable version?
View Replies
View Related
I first noticed this in my own app. Images would show up missing [red X] randomly on IE 6.0.2800.1106 on Windows 2000 server.
I then was able to repro this problem on Microsoft's website!!! The page I used was
http://www.microsoft.com/windows/ie...sp1/default.asp
After pressing [F5] to refresh the page six times, I noticed missing images on the page.
This problem seems to be very reproducible. I coded a sample ASP page which references the same images 10 times on the same page. Loaded in IE. Upon pressing [F5] several times, the images will be identified as missing [red X]. Refresh the page again, it's fine.....etc.
I'm up-todate with all latest MS patches. Has anyone else seen this problem?
View Replies
View Related
I have a folder on webserverwwwroot, called staticContent. The folder
has several message of the day text files, such as RepMotd.text. I have
an admin page, AdminMotd.aspx, that allows a user to view and edit the
contents of the files.
Webserver is running Win Server 2003 64-bit and IIS 6.0. The development
machine is Win XP, using Visual Studio 2005 (thus ASP.Net 2.0.)
In IIS, staticContent folder has Write checked and execute permission is
set to Script Only . In NTSF, the folder grants full permissions to
Network System.
When I try to overwrite an existing file in staticContent, or try to
create a new file, I get a System.UnauthorizedAccessException. The
Application error log on webserver notes that the error is on the page
I am trying to run, that my user name is what I logged in as, that I am
authenticated, and that the thread account name is NT AUTHORITYNETWORK
SYSTEM. Elsewhere, I am able to read these same files and insert them
dynamically into the web page.
This is the code that I am trying to run in AdminMotd.aspx, cut down to
the basics. If it makes any difference, the code is run "in page" and
not as part of a separate code-behind file.
******************
<script runat="server">
Protected Sub MotdChange(ByVal ThisFile As String, ByVal ThisText As
String)
Dim sw As StreamWriter = New StreamWriter(StaticRoot + ThisFile,
False)
sw.Write(ThisText)
sw.Close()
End Sub
Protected Sub RepMotdChange_Click(Byval sender As Object, ByVal e As
System.EventArgs)
MotdChange("RepMotd.text", RepMotdText.Text)
End Sub
</script>
<asp:Content ...>
<asp:TextBox ID="RepMotdText" runat="server"></asp:TextBox>
<asp:Button ID="RepMotdChange" runat="server" />
</asp:Content>
********************
I have traced that the error occurs when New StreamWriter is called,
rather than when actually trying to write to the file. Obviously I'm
missing something, but danged if I can find it.
View Replies
View Related
i want my query be displayed in printable form.is it possible to resize the window(page)?
View Replies
View Related
I've been asked to set up a database for a friend. Some of the data would be used to post e-mails, and for those entries without e-mail she wants to use the normal postal service.
She would like a function on her website that would make printable pages as well as printable envelopes.
Printable pages I could do, but would like to know how to stop the webpage info from being displayed.But the main question is how could I set up the printable envelopes.I'd like the end result to loop through the database, send e-mails to some, but create printable pages and envelopes to the others without e-mail. Is this possible?
View Replies
View Related
I have an ASP page in a table style (heading and data). At the beginn of each month (actually only the first day) there is no data in my database and so-with nothing to show up on the ASP page. If I would like to open the ASP page over the net IE is telling me that it cannot find my page. Is it possible that, even if there are no records to show, at least the heading is shown on the Internet?
View Replies
View Related
I’ve been racking my brains trying to figure out why when I call a record set back with a SELECT * it only brings back some of the fields. It use to be connecting to an access 2000 DB and worked fine but I’ve converted it over to SQL. I’ve installed SQL server DEV edition and imported the data. The desktop is running XP.
Has anyone got any ideas why it only picks some of the fields in the record set and not others? O I’ve tried timeout = 0 on the connection already..
View Replies
View Related
From the past I have been adding records with a form with 2 pages.
One with the form and the other a add.asp page to actually take the values from that form and add to Access database.
Just for example I had the form on:
p1.asp and when they click submit it goes to
p1add.asp and adds it, but is there a way to add it with just p1.asp?
View Replies
View Related
how to Update Record On Page Load. I have one feild in my database that I want to subtract 1 from each time the page is loaded.
View Replies
View Related
wondering if you can do this in asp
<title>
<%
Response.Write Recordset (Title)
%>
</title>
View Replies
View Related
I'm getting this error message: Error Type:
Microsoft JET Database Engine (0x80004005)
You cannot add or change a record because a related record is required in table 'employees'. Code:
View Replies
View Related
Is there a way to determine users OS version and servicepack level (when
WIN)???
(Browscap, broeserhawk,... ?)
View Replies
View Related
I am trying to run vb6 webclasses from a NT IIS6 webserver. For a few years we have been running these successfully on IIS4. I'm having a little trouble getting the initial asp page to load. Is there anytning special that needs to be installed for webclasses or asp on IIS 6?
View Replies
View Related
I currently have an ASP website that utilizes an Access database,
which I administrate through the web via aspaccess. I really would
like to have a better database, but I can't afford to own SQL Server
or pay extra hosting fees from someone that has it. I would like to
keep ASP, but use mySQL. My dilemma is that, while I would like to add
mySQL, I don't want to create a mixed environment by using phpmyadmin
to administrate it. Does anyone know of an ASP-based administration
package for mySQL?
View Replies
View Related
I see 2 versions. Visual Studio .net professional and Visual Studio .net Enterprise Developer. Can someone tell me which of these 2 is the best to buy.
View Replies
View Related
Is version 2 worth it, and is the only way to learn it the MS Visual Web Developer Free Download? It seems to have some really cool new features?
I am sick and tired of Macromedia and the rotten code that they generate with Dreamweaver, it's so bloated and falls apart in so many platforms.
View Replies
View Related
I am using w2000+sp4 server with IIS running, how can I know my IIS version
number, is it iis5.0 or 5.1 or 6.0?
I must know this, since I want to download patches from MS web site,
View Replies
View Related
I'm looking for an easy to use file version control system for all of our web development files.
We have been using Adobe’s Version Cue for our projects that utilize Adobe products and love it. The problem is that Version Cue only works with Adobe products.
In essence we are looking for a Version Cue for “everything else”.
We’ve tried tools like CVS and Subversion, but those are very difficult, seem to require a high degree of specialized knowledge and are not user friendly.
On the other hand Version cue offers most of the same features, but has a very simple yet powerful and feature rich GUI.
We need something that is usable by our programmers and designers alike
View Replies
View Related
I am currently learning ASP but have a small PHP background,
With PHP I used PHPMYADMIN to work with MYSQL
Is there a web based Alternative for
ASP and MSSQL that provides similair functionality?
View Replies
View Related
I think the ASP that I wish to run needs a later version of VBScript
than is installed.
How do you find the VBScript version (server of course)?
What needs to be done to update this on a win2000 box?
View Replies
View Related
I have Xp prof, IIs 5.1, .NET2003 on my machine.
I had the error "Visual studio.net has detected that the
specified web server is not runnning ASP.Net version 1.1.
Yow will be unable to run ASP.Net web applications or
services." in .NET 2003.
I fixed it by running the IIS mappings for ASP.NET,
aspnet_regiis -r. But I figured that my IIS had some issue
and I had to register the dll for IIS.
After doing that my .net is throwing the same
error, "Visual studio.net has detected that the specified
web server is not runnning ASP.Net version 1.1. Yow will
be unable to run ASP.Net web applications or services."
I ran the aspnet_regiis -r again it is overwriting the
1.1 .net framework scripts but the error in .Net is not
fixed.
I know my webserver is running Ok because I can develop
ASP pages using Visual Interdev and my default website is
running fine.
View Replies
View Related
I have a new ASP project that I need to desperately test on my Windows 2000
machine before posing to my Hosting Company. I am having problems getting
the ASP pages to run from LocalHost. I will attempt to give as much
information of what I have done to try to correct this without success.
First my setup. Windows 2000 Professional with Service Pack 2 installed.
IIS is installed. I have turned off the firewall just in case that was a
problem as the laptop is operating as a stand alone and not on a network at
this time. I also have VB6 with Service Pack 6 installed. I will explain
later why that my be pertinent.
The error that I am getting is:
The Page Cannot Be Displayed. with a HTTP 500 error. This occurs every time
I try to access a ASP page. HTML works fine from LocalHost. Code:
View Replies
View Related
can someone explain to me the diffrence between the 2 below and why one works and the other one doesnt.could you also explain what each part of the correct version is doing because i dont really no.
INCORRECT
sql = "SELECT * FROM userlogon WHERE (username)=' "& (username) & "' AND (password)=' " & (password) & " ' "
CORRECT
sql = "SELECT * FROM [userlogon] WHERE [username]=' "& username & "' AND [password]=' " & password & " ' "
View Replies
View Related
I have PWS/Windows 98 but how can upgrade to ASP 2.0 or 3.0? Should I download a package
from microsoft or Should I install a new version of the PWS?
View Replies
View Related
has the error got anything to do with IIS version
Operation must be Updatable query
I am working on WIN XP Pro using IIS5.0 or 5.1 ..
But when i run the same applocation on another WIN XP pro , it works fine
Are there any patches that i have to install?
View Replies
View Related
Do any 'classic' asp developers have any knowledge about the client side sql
server EM tool found here:
http://www.amazon.com/exec/obidos/t...46&vi=tech-data
I am hoping this will allow me to leverage default sql server database on
remote web host...but not sure if it will
run on WinXp Professional....I was told it does...
Also: any other fast track hints to get started would be great...I have some
knowledge on Access sp's and I understand that dates are handled differently
in sql server...
Would it be a good idea to initialize the database path, username and
password in the global asa
View Replies
View Related
Does anyone have a resource for a MySQL database tool like phpMyAdmin? It would need to be written in ASP. I have a local DB tool on my computer but I wanted to put something on my webspace to have acces to the DB from anywhere.
View Replies
View Related
I've got an ASP app. This app is deployed to two seperate Windows NT machines which I believed were the same. Unfortunately, the app works on one PC, but on the other I get some EOleExceptions from the COM object I use with the page.
Does anyone know how I can check versions numbers of things like what ASP engine I am running (if there is such thing), version numbers etc. etc.
I'm just looking for anyway of telling what the difference is between the two PC's.
P.s. I know this isn't really a 100% ASP based question, but I thought I would get a fast answer on the ASP board.
View Replies
View Related
I am currently using an evaluation version the (latest) sa file up component.
I have noticed and am concerned with the fact that the file up form collection, seems
to support only one reading of values. Once i have created an instance of the file up component upload a file and destroy it i am unable to gain access to posted values again.
This makes it difficult in a more object oriented approach to programming. I have a class
responsible for uploading a file, and a class responsible for inserting data in a db.
Only the first class that is called to extract info from the file up form collection is populated with data..after that all is gone.
View Replies
View Related
Would anyone know where I can find a copy of this.I just can't afford the MSDN subsrciption right now.
View Replies
View Related
How can I get ASP and IIS version info?
View Replies
View Related