Calendar / Album Style Resultset
I am trying to make my result set print out the results in the same style as
a calendar or photo album. I am actually making a photo album, and I can
only print the results in list format. I would like to have 3 or 4 results
per table row. Then once I have 3 or 4 results across a new row in the table
will start. Code:
View Replies
ADVERTISEMENT
I know there has to be a million post on this, but is there an example I can use or see to make this happen. I want to use a database to view an album and pictures in my web pages.
View Replies
View Related
I am about to get rid of TZO on my computer, and I've been using it's photo software to view photo's on my web site. I could write something in ASP (or asp.net), but I figure why spend time re-inventing the wheel if there's something already out there.
Does anyone have any recommendations on ASP apps that I can use for viewing photo's on my web site? I would rather it be free if possible, and it needs to just look at a folder, or series of folders, and build a thumbnail type of view from what's there. In other words, I don't want to have to populate a database with all of my pictures.
View Replies
View Related
I have a stored procedure below.. When I run it with a well parameter in
query analyser 3 of select statements return me. (i named select statements
1,2,3)
But in asp page when i call this procedure same as query analyser it returns
me 2 select statements value? what is the problem ? Code:
View Replies
View Related
I want to send the whole resultset i retrieved. now i am retrieving the resultset and able to print 15 records in one frame. if i want to print whole the dump records what i have to do.?
View Replies
View Related
I've got a problem with an ASP page which calls a stored proc. The sybase stored procedure returns numeric values as shown: ...
View Replies
View Related
I have written an ASP script that connects to a database and runs a stored procedure and displays the results in text format ...using the <TABLE> tag. But I would like to
have these results appear in a NEW Window in an Excel format. I used :
<%
Response.ContentType = "application/vnd.ms-excel"
Response.Buffer = true
Response.Clear
%>
This opens up Excel in the same window and usually does not refresh my data ...even though the stored procedure is actually running on the database server.
View Replies
View Related
I am populating a SELECT list from a result set. I need the same result set to populate a second SELECT list. Only one list is being populated. How can I get this to populate both? Here is my code:
<select name="options" size=10 multiple="multiple">
<% while (!rs.EOF) { %>
<option value="<%=(rs.Fields.Item("FIELD1").Value)%>">
<%=(rs.Fields.Item("FIELD1").Value)%>
</option>
<% rs.MoveNext(); }
if (rs.CursorType > 0) {
if (!rs.BOF) rs.MoveFirst();
} else {
rs.Requery();
}
%>
</select>
View Replies
View Related
I want to use asp to assign a css class to <td> tag. I was thinking an If statement, but i've not come across trying to assign a class to a table cell before! I want the cell background to be highlighted red determined by a database table with - yes or null. (null remains white, yes - red) At the moment it simple like this: Code:
<td><%=strAddress%> </td>
View Replies
View Related
I would like to using style sheet in ASP generated Excel, but it sees cannot using it. Here's my code:
<style>
<!--
..report {
font-family: Arial;
font-size: 11pt;
}
//-->
</style>
<%
response.contentType = "application/vnd.ms-excel"
%>
<font class="report">testing</font>
View Replies
View Related
How to set text style for an excel cell progrmattically, which is equavalant
to Excel->Format Cells->Number Tab->Text
View Replies
View Related
how to add a css style to a menu in asp 2.0?
View Replies
View Related
I need to figure out how to make ASP add in the appropriate style sheet. Basically I want it to look, see what page it is on and say, 'Ok ... if this is the home page, use this style sheet ... if it is not, use this other style sheet.'
View Replies
View Related
I'm trying to write a style sheet switcher for myself in asp. The code sits on every page. I've so far managed to cobble the following: This block sits in the head: Code:
View Replies
View Related
I am storing content in a database, and when a text field is updated I am adding a line "Updated by <username> at <date and time>" inside the text field.
Now what I would like to do is to apply a dynamic style to that line by using a span.
<span style="<%=UpdateStyle%>">Updated by <username> at <date and time></span>
where UpdateStyle would be an ASP variable like "font-weight:bold;color:red" etc, so how that line is displayed is amendable at any time from within an include file.
Well obviously using <%=UpdateStyle%> didn't work ... I also tried defining it as a javascript variable and calling it using document.write, but that didn't work either.
View Replies
View Related
I am having trouble with css style sheet with asp code, everything was working till I put extra of css code in there, and I got error message state expected end statement,
Response.Write "<a class="three" href=""job.asp?ID=" & rs("ID") & """
style="text-decoration: none">"
View Replies
View Related
I am currently undertaking a project where I have to make the page layout and colour scheme customisable to the user. I have therefore created the different style sheets for both colour schemes and layouts. Each user within the backend database has a field for layout and colour scheme. I need the system, when a user loggs in, to check the field value of both of these, and apply the relevant CSS sheet to every page within the site thereafter.
I have already tryed using cookies, but becasue it is for a school, many users will use multiple machines so that wouldnt work.
View Replies
View Related
I would like to know if and how it would be possible to create an
entry-screen that allows the user to enter data in a database, using a
spreadsheet/table-like entry screen. The screen would start of having
headers for each column/field and an empty row underneath. When each column
in the row is filled in, the user must have an option to add another row.
I'm look for the code/explanation that helps me set up the entry screen, and
the ASP code to add the entered data in the database.
I can imagine that each entered row is added to the table when a new row is
added, or a button is pressed and then the screen refreshes with the newly
entered information and a new row...
View Replies
View Related
Further to a question I posted a few weeks back - i'm devloping a site for our company where visitors can vist product sections, and pick catalogues they want - currently they can only go to one section, pick catalogues, order them, then move onto another section - problem is this. The powers that be want a more 'shopping basket' style - where customers can browse all the sections and pick as they go - and order them all together. In a 'shopping basket' styleee - so does anyone know of any good shopping basket style tutorials?
View Replies
View Related
Anybody have any experience of a decent explorer style tree view system which is database driven?At the minute I'm using ASP Tree View (www.CompuSolve-Technology.co.uk) but it's not really the best.It has to work with a database (MS SQL Server).
View Replies
View Related
It there a standardized process of working with text files that follow the typical INI file pattern with sections within it designated with square brackets? I am looking at needing to read in some of these into the DB and then editing in the DB and writing the files back out again. As an example they would have sections like this:
[fltsim]
'Stuff here
[general]
'Stuff here
View Replies
View Related
If anyone knows of something similar to the PHP style documentation that would be great.
View Replies
View Related
I have this file called "inc_BreadCrumbs.asp" basically this is a Navigation include file as breadcrumbs style, and I inserted this to every page in my site. It works fine but one thing I cant configure is that:
It displays the file names as for example: search.asp or results.asp etc... But i want it to display as SEARCH or RESULTS etc... How to implement this? Can it display only page title name or something else how can you change it? Code:
View Replies
View Related
I have the following regular expression:
re.Pattern = "style[^=]*=[^""]*""[^""]*"""
It will grab any style attribute within HTML that uses double quotes, and put it in the re.Matches collection.Now, I want to include single quotes into this regular expression. Here's what I have so far:
re.Pattern = "style[^=]*=[^""']*(""|')[^1]*1"
but it does not work.
View Replies
View Related
I've been testing it and configuring it for a few weeks now and finally got
everything working, yet when I upload it to my server, it fails to show any
events...
the DB is accessed just fine and new events can be added and deleted
etc..but nothing shows in the events section.
I was led to believe that this might be caused by a setup (mm/dd instead of
dd/mm..bloody dates again)
anyone using this script and gotten around this problem?
View Replies
View Related
I've looked several times for a calendar like THIS but haven't been able to find one written in ASP. Anyone know where I could find one?
View Replies
View Related
I am trying to use asp calendar by opening the asp in a modal window (window.showmodaldialog). Page behaves erratic when try to move between dates and months. When I click a new window opens.
Is there a way to make the control work in modal dialogs?
View Replies
View Related
I try to get a simple calendar composant.
View Replies
View Related
I have been asked to produce a booking system and i need an asp calendar to produce a frontend so users can select the year and month and have the page produce a calendar for that month with clickable dates to fire off a form to get the details for that date.
View Replies
View Related
i need to show the calendar using asp any one know where i can get good and free code for this?
View Replies
View Related
I'm looking at creating a calendar function for an existing system i have. The system is database driven and has a client overview where monthly sales figures can be entered in for the year. It works fine at the mo but when we get to the end of the year there might be a bit of a problem!
What I'm after is a calendar that will allow users to flick between years so that data can be entered and viewed accordingly by month. All the calendars that I have come accross have been too advanced and show days of the week as well.
View Replies
View Related
I'm trying to find some calendar software to use on my company intranet. Ideally, I would like freeware software that has individual calendars for each employee and a general calendar for company events.
View Replies
View Related
I need a pop-up calendar in ASP that allows a person to select historic dates only. The pop-up should be generated from a button, and the date selected should populate an input field.
View Replies
View Related