Filling Out The Missing Squares In My Picture Grid
Using ADO/ASP, I want to retrieve a list of pics from my db (which will be
dynamic number of pics as a user will be uploading anything from 1 to 12
pics) and put them in a grid (table) of say 3 x 4 cells.
I think this is easy to do if the user has uploaded 12 pics, as the
recordset's recursive loop will create the table for me, but my problem is
that what if they only upload 4, 5 or 7. How do I list these pics in my
grid, but get the ASP to neatly finish off the 3 x 4 grid? If I just leave
it to my recordset of say 7 recs then my 3 x 4 table is going to disjointed
and unfinished.
I've just been given another job at work and was hoping that you guys would be able to help me out. Basically I need to find a way to fill in a form using data from another form.
So basically I need to be able to fill in one form and then use this data to populate another form which I don't control.
I've been using ASP for smaller (up to 4 items) dropdown menus, and so far I've been if/then/ statements such as this boolean case:
Code: <select name=""gift"> " <%If MyGift = true Then %> <option value="true" selected>YES</option> <option value="false">NO</option> <% Else %> <option value="true">YES</option> <option value="false" selected>NO</option> <% End If %> </select>
How do you set the selected item in a drop-down menu when you have many items in the dropdown, as in the case where the dropdown contains the 31 possible days in a month?
i want to fill a drop down box using data retrieved from access database.......
i alread know how to connect and retrieve data from the database but i am a lil unsure as to how i can populate the drop down list with the values retrieved.
This code is a part of my update record form. I want the dropdown to populate with the names from Dbase. This works. I also want the current value of the dropdown to reflect the name in the recordset I am updating. I am not sure where to set this value. Code:
I have a submit form with 2 fields: Product Code and Quantity.
I have dynamic table beside my form that displays a catalogue and one of the fields on the table is product code.
What I want to do is to make the Product Code on the dynamic table a link that ONCLICK inputs that code to the form. There is something similar in another post but not for a list coming from a DB. Any ideas, samples ? I'm using Classic ASP, DWMX 2004, windows.
I have an sql database, and an asp website. I need to send emails to users from the site. I have loaded the recordset with the email field from the table. I them send an email to all the emails in the recordset. I use the BCC field to do this. The problem is, sometimes the emails get missed judged as spam or junk. How can I fill the TO field of the email instead, with the emails from the recordset, and send an email to each address individually, in like a loop or something? So like, it will go through and send an email to email1, then loop back through and send one to email2, and so on....
need to enter many entries at a time related to my production. Like operatorID,operationNO,qty,nohours bla bla I already designed page. But its used to enter one record at a time. I want to allow user to enter all operators details for a specific date at a time. I tried using ADO Connection and ADO recordset. When set the properties, its displaying error. Its not connecting to database. How can i use this? or is there any tool having this feature for free? I am using access database. I want to use this in my LAN only.
i have this event sign-up program that displays events from access databases and allows a user to click on a sign-up button to sign up for these events. currently when viewing an individual summary, the users see a listing of events they've signed up for, but it's been suggested to create a grid schedule for a better visual.
these events cover a 9 day period (Friday through Saturday) and i was wondering if there's a relatively easy way to create a grid schedule for the users?
I need to display data from a sql server 2000 db on an asp web page and I need a vertical split. Does anyone have any solutions? I really can't afford to spend much/any money so freeware/shareware or coding suggestions is what I am interested in.
I have an ASP page which hosts a VS flexgrid control. I use a Menu.js file which will dispay the menu on each page of the application.
But in some of the pages the sub menu goes inside the flexgrid. I tried putting the z-index property for the div which holds the Flexgrid but it didn't work. Is there any workaround for this.
I'd like to know whether its possible to hide the pagerstyle of a grid.In a webpage i hav a grid with paging that is supposed to be printed,so in a button click i'm calling a javascript to extract the grid <divto open it in a new window..in the same button click the pagerstyle should be set to false..Is there any way to do that?..
I have spent the past several weeks building an ASP.NET 2.0 Application that has a Users.xml file where all user information is stored. I am now designing the administrator tools and want to be able to sort through the records in the XML file. Essentially, I want to be able to build this:
It seems that every example i hit is a sqlserver example and there doesn't seem to be very good sorting capabilities for XML. is this true? how do i acheive the above link? I would really appreciate any code examples or code links if you know/have them.
I have created a website using dreamweaver mx 2004 and access 2000 for the database. i want to display the results of a recordset in a grid with a different record in each grid. the grid will be fixed in width and the cells will be fixed in width and height but if more cells are required (eg more records to display) then they will be added to the bottom of the grid. at the minute its not working. This is a screenshot of what im sort of after.
I have a database of UK postcodes with corresponding OS Grid references (easting and northing) but I need to convert these to longitude and latitude so that I can plot my postcodes on a Google Map.Does anyone know of a function which can do this?
I'm building a 'spot the ball' gaming site where people choose a point on an image closest to where the ball should be. This works in Flash by assigning co-ordinates to that point.
However, I need to do a database look-up when the competition is over, to see who has the closest point. I'm hoping to build an ASP application that will enable the administrator to enter the correct co-ordinates, then click a button to find the closest entry in the database. I can't think of an accurate automated way to do this. Has anyone built anything similar? What would be the best way to achieve this?
does anyone know any script I can use to achieve the following:
I have several pictures (many hundreds) that I would like to display on my homepage - a new one each day. I have tried several scripts but many of them only allow for 7 images (one for each day of the week) or one for every day in a month.
Are there any scripts that will just accept a long list of images and display the next one on the list until it gets to the end and begins again?
I have seen on many websites the use of some sort of program to generate a random character string distorted and warped with lines making the resulting graphic ideally only human readable.
The theory is to prevent automated login programs.
I don't know what they call this type of component so I really don't know how to google it. Do you know any source for this type of thing?
i describe just my hole problem in the title I want to uploade a picture from a computer in to an access database on server, and even know, that I have to use "FiletoField" but don't know, how have I use this? and didn't see any example codes, which I understood. I use for my codes "aspsmartupload"
I would like to put a picture on may page and I would like to use this picture as a button to execute an sql query, so when you clik on the picture you will hace displayed in the next page the product in the data base and other info like price for example. I have this code to access the data base but I do not know how to use a picture s a buton to use it. Code:
I need to add a ppicture to my Database.. The table is accessed through ASP Recordset but having troubles trying to insert an individual picture to each record?
Has anoyone ever tried to create an asp page that displays images that either displays them as a slideshow or on a long webpage?
I have an html page that displays my pictures, but as there are many of them which are large and my bandwidth is restricted I want to download them and display them one at a time. Currently it the client tries to download them all at the same time, or four at a time. This slows down the downloads to an unbearable rate.
Is there a component that allows you detect when an image has been downloaded and then allow a trigger to start downloading the next one?
i would like to know where i could find a picture viewer that has a data base and shows thumbnails and when a user clicks on it the picture opens up bigger for the user.
Currently I have a webpage that pulls information from a database. The records are all true/false. Right now I just use the response.write function to display my recordset.
I am looking to do the following, but am unsure how too:
If recordset = ("true") then display check.jpg <----- I am unsure on how to display a .jpg end if
if recordset = ("false") then display x.jpg <----- I am unsure on how to display a .jpg end if