Show Data Without Database Installed
I have a strange problem. I have to show demo presentation in CD. In
this presentation record will be show from database. But we dont have
to install the database. any body can see the cd and can search the
data. how it is possible because the databse will not be installed in
CD and computer also.
View Replies
ADVERTISEMENT
The following code is used to show installed printers on a computer,it works on server machine,however, if use a client machine to browse, it also shows the intalled printers on the server machine.Actaully, what i want to do is to show what printers installed on your own machine (that means show it on client-side)...
View Replies
View Related
I have announcements down the left hand column of a site and want to display contact info if it is available - if it is entered into the database. So I only want to display a space plus the data if there is data in the field. Code:
View Replies
View Related
i would like to show a summary of data in our database. it's more like a report showing things like totals for 2006, 2005, etc. what is the best way to do this and make it efficient?
i have a report right now consisting of about 20 queries i've been slowly putting together. when i run all of these on the page, it takes a good 15 seconds for it to generate the figures (and this is on a dual 3.0 ghz xeon machine). does anyone have any suggests on an efficient way to accomplish this?
View Replies
View Related
My code show no error but the record cannot appear. My code =
if request("tarikh") = "" then
tarikh = Date()
else
tarikh = request("tarikh")
if isdate(tarikh) = false then
ralat = "Sila masukkan tarikh dalam format dd/mm/yyyy"
tarikh = Date()
end if
end if
sql = "select * from audit_trail where cstr(tarikhlogin) = '"&tarikh &"' order by masalogin desc"
set rs = conn.execute(sql)
response.write sql =
select * from audit_trail where cstr(tarikhlogin) = '04/02/2005' order by masalogin desc
Storing record have no problem but this code cant display any data.
View Replies
View Related
how to show excel data in asp?
View Replies
View Related
I was just wondering if there is a variable or procedure for getting all the POST data sent to a page. I don't want to have to handle every case for the POST data, I just want all POST data sent to the page to be outputted automatically.
View Replies
View Related
I have an Excel file and NEED to show the data onto the webpage using ASP. The data shown on the page varies depending on the ID entered in the webpage.
Right now i Import the data into Access and then show it on the page with the JET engine.
View Replies
View Related
I have two pages in my Web system that works in such a manner:
1. Page A allows users to input data into the web form
2. Page B displays data from Page A and other additional info
Page A contains only data inputs of HTML types TEXT and SELECT.I'd like to have an "Edit" button in Page B where it allows users to be redirected to Page A to view all of the previously entered data (and edit the data from there).
Can I do this without using "Request.QueryString" or "Request.Form" commands? I can't use "history.back()" or "history.go(-1)" commands, because with them, Page A is shown with empty data in it.
View Replies
View Related
how can i make that the page show only TOP 5 record in the database ?
View Replies
View Related
I have a problem with show all values from my database into my html page! Code:
View Replies
View Related
I have in the database two columns, one for picture_id and one for image. Then I want to show the image which the user sent into the database.
I am using sql server 2000, how should I write the code in asp so that it can show the image not the disordered characters on screen.
I have code as following but the output is disordered characters....
View Replies
View Related
how to show a drop down list with a selected value that is derived from the database? Is this correct? When I do this, it shows "Mastercard" always, even when its "Visa" in the database.
<select name="ccType">
<option value="Visa" selected="<%=rs("cardtype")%>" >Visa
<option value="Mastercard" selected="<%=rs("cardtype")%>">MasterCard
</select>
View Replies
View Related
on one's computer locally like PHP where I design offline?
View Replies
View Related
How do I programmatically check whether ASP and Server Side Includes sub-components of the World Wide Web service are installed on a Windows 2003 Box? I want to do these checks as pre-install checks for a software.
View Replies
View Related
I just installed IIS in my W2k machine.. have hardly ever done any asp. first thing I need to know is how do you change the port once it's intalled (since http://localhost is address for my Tomcat (JSP server..)) I see no read-me or config instructions with this install.
View Replies
View Related
I have my asp successfully creating excel file viewable through IE
using the header:
Response.ContentType = "application/vnd.ms-excel"
If the user does not have excel installed they get a IE pop up that
downloads the asp page in question.
My question is there anyway to interrupt this and tell them that they
don't have EXCEL installed, rather than showing this download pop up.
View Replies
View Related
I need to detect if a users browser is Java enabled for a certain function on my site. If it's not enabled I need to direct them to a page telling the member that, else continue and load the applet. I don't dabble in ASP at all but I've exhausted all other methods.I've tried the following code (as a test) which loads up the redirect regardless of Java status.
If Len(Session("AppletFileArchive")) = 0 Then
Response.Redirect "somewhere.php"
End If
View Replies
View Related
I was searching for a code that allows me to know when anyone installs a script I made.
This code sends me an email including the URL of the installed script.
View Replies
View Related
lots of acronyms in that title! Anyway, this is probably a stupid question because it seems as if you do but could someone confirm? I keep getting 500 errors when attempting to run the pages.
View Replies
View Related
I have an ASP project that uses websheet component for calculation. All the users now are upgrading to office2007 which does not install the Office Web Component by default.
I want to add code to my project that will check if OWC is installed on the client machine and if not prompts him to download. Does anyone know how to do that or where I can read about it.
View Replies
View Related
I'm current working on a project which need to upload local data to
live server database.
Meanings that, i'm current having a server in my local mechine. I need
upload data from local database to live database which host at oversea
company. But i really have no idea how to do this in asp.
View Replies
View Related
If i am using ASP to extract data from an excel file, does excel definitely have to be installed on the web server? The file will be located on a separate folder away from the web server.
View Replies
View Related
I ran some script and confirmed tht CDONTS exists on the server...which runs on Win2k and has IIS 5.0 When i run my email script,no error is displayed ,but i NEVER get the emails im trying to send. What could be the problem.
View Replies
View Related
How do I tell if an ActiveX control is installed (and working)?
View Replies
View Related
I need no send birthday emails every day. I need something to check everyday on my database for birthdays, but I don't have any components to do that and I dont have rights to install it on my webserver.
Is there a way to do it without installing anything? Only through asp?
View Replies
View Related
Since I want to be able to send a confirmation e-mail (containing user name/pwd etc.) to every visitor that enters some info in a form on my web page I wonder how that is done.
I have heard about SMTP and CDO but don't know the differences or which one is applicable in my case
I'm running xp-pro and use my computer as a web server but don't know if I have SMTP installed (or how to use it if it actually is there).
View Replies
View Related
I have a master table called ad_dump. ad_dump is an Active Directory dump of 20,000 users across the domain. I capture user's logon to filter ad_dump on department so only user's department personnel show.
This ad_dump will supply data for many databases. Therefore, each application requires a user to "choose" which personnel belongs into a local application(personnel). Personnel choice is the ad_dump of personnel of logged on user's department. The user selects choices by checkbox and submits.
How can I collect the form's hidden values and have them inserted into another database? I assume I can use the form collection object but I cannot seem to figure it out. Code:
View Replies
View Related
How to get the last row of data from database which is integer value by using ASP?
View Replies
View Related
I am using a ASP page(User_Account.asp) to create username and password & updating the info into the database through another ASP page(User_Account_Upload.asp).
The problem I am facing is that, at random instances the data gets duplicated. I tried to check if the user Id exixts in the database before updating. After implementing this logic, whenever I create a new user, if the ASP page tries to store the username for the 2nd time, it generates an error message that the user_id exists and doesn't update the database. However, this error message is displayed on the screen even though the user_id was created for the 1st time ....
View Replies
View Related
I want to display a system maintenance notification on my webpage using a splash screen. I got the code for splash screen from Dynamic Drive and added it on my web page. Now here is my problem. I have created a table in my SQL database with these two fields, Flag and Description. I am trying to connect this splash screen to this table.
This is because-if the flag is set to 1 the splash screen will pop up and display the data in the description field on the splash screen and if it is set 0 the screen will not pop-up at all. Two things I am having trouble with-
1. Displaying the data on the splash screen. I made the connection to my db but can't get it to display it on my splash screen.
2. How to make the splash screen pop-up only if the Flag field is set to 1.
View Replies
View Related
Here's my scenario: I send an email to my customers which contains an embedded URL with a recordnumber within it. What I want to do is create a variable for the recordnumber, write a select statement against my database using the variable as the argument for the WHERE clause, and display the results of the SELECT (its always a single value) within an HTML page.
Here are snippets of the code. The recordnumber is represented by strCallID and the resultset that I'm trying to display is strATG (shown near the bottom of the HTML)
All the connection string stuff has already been taken care of, so that's not included in this code:
View Replies
View Related
I'm using Dreamweaver MX with ASP VBScript and using a MS Access Database. For about the longest time now, I've been trying to make a Mailing List form online and when you submit the data, [data] goes into the Access Database.
The Form is obviously working fine, although sometimes I do get errors, I'm mainly trying to get this data skullduggery working. Is that even possible (with ASP even)? I have to use ASP and I can't use SQL (because I would), but I think my n00b self has tried everything I could think of. Code:
View Replies
View Related