Forms Data Controls :: Displaying An Array Of Images And Data?
Nov 22, 2010
I'd like to make a page that displays information from my database, but in an atypical way. Each record from my data includes an image and some information about the image. I'd like to display an array of images, each with its associated data underneath the image. I'm imagining a table with four columns and in each cell there is an image and underneath the image is information about it (name, size, author).
You can get an idea of what i'm trying to achieve by looking at this webpage:
I've got a treeview inside an updatepanel. Currently I'm developing on a dev server through a remote connection, when I view the page from the dev server itself, it works. The expand/collapse images display fine. When I view the page from my machine's browser (same url, same browser) it doesn't display the images.
I've added custom images using the CollapseImageUrl/ExpandImageUrl properties, again it works from the server, but not from my machine. The actual rendered html differs. The page also contains some asp:Image controls which work fine in both browsers.
how to display images from a database cant cant seem to find quite what im looking for.
I have a site that allows users to upload their own photos, i would like to be able to display these images, with the discription of the photo underneath or on top of the photo, on the website and allow other users to comment on the photos.
The display can be every photo in the database, later ill impliment a search to narrow it by user later.
Right now I have my database table set up to take the img path, username that uploaded the picture, time it was uploaded, and a description of the photo.
I am trying to find an efficient way of displaying images (about 140x140px) in a webform. We cannot use paging, so we need to display all these images in the same webform.I noticed that facebook (and other sites) lets you display all your images in one page. For a profile qith about 1000 photos, facebook somehow downloads only enough so that the visitor can see images on the screen. Once you scroll, it seems to only download enough so that the visitor can again see something on screen. It works like a good text editor.... instead of displaying a huge file onscreen (like notepad does) and freezing, it only displays enough for the reader to see.
I have a sql database and want to store the image format into the database. I want to then display the image in a gridview. For the database I have entered the location of the image and not sure if this is the right thing to do. I'm not very good at this stuff so could you make it as simple as possible.
i am new to asp.net mvc,we have loading images for form when we are saving or deleting ,we have written that code in master page and its working fine,but the thing is we are using a inline popup within asp.net mvc form,by using div tag we are developing a inline popup in asp.net mvc,when we are saving data in inline popup in this case loding images is not displaying on the pop up.
i have the following scenario, i have a column of a gridview that shows me a text telling me is the user is allowed or not to access to some page, but now i just showing allow and deny, but i wanna show images that represent me the action, how can i do that?
I am fresh to asp.net. I m using vb to write it. Could someone who is professional guide me? I want to input data from textbox to "unknown size" array or arraylist, and bind it to gridview. I have more than 1 data to input. Do i need to use loop to bind?
I am looking to use a gridview as an array that does not get loaded with data, instead I would like to use it as a grid which contains textboxes that the user can enter information in to, which I will read.Is this the right control to use? If so, how do I make the grid visible when I am not binding any data to it?
I have a datagrid which pulls data from a single database table to display it. However, this database table also contains information on the thumbnail URL for each record, and I would like to display the thumbnails for each record in the 1st column of the datagrid.
At present I have added the following to my datagrid:
So I presume the main challenge now is to set the Thumbnail.ImageUrl property to the correct file path in the VB.NET code. But how do I do this for each record? I am using a function to retrieve data for the gridview, which is based on the following:
I have a Table (in SQL Server) that is being updated roughly every minute or so with new records being inserted from various sources. The number of records inserted in this duration varies from a few records up to dozens of new records. I am using an update panel to rebind my data every minute to keep the GridView current. Now that I have the data refreshing I am looking for a better solution than reloading the data every minute. how to best keep my GridView up to date? Here is what I would like to accomplish:
1. Load the GridView and refresh the contents every minute. (60 second intervals)
2. When the GridView is refreshed every minute I would like to append only the new records to the existing grid, rather than bringing back the entire result set with each round trip to the database.
3. I would like a visual cue to identify the rows that have been inserted into the GridView. If new rows were to flash/flicker with a background color (yellow) that would be ideal.
Am I even using the correct control for displaying real time data, or are their other options? I essentially am looking to find the preferred method of displaying data that is being updated in real time in a web application. I'm hoping there is a solution involving AJAX but I haven't been able to find much on The Google. I am open to changing anything and everything about my approach -- this is largely a learning exercise. For testing purposes I am currently using LinqDataSource in conjunction with a GridView in an UpdatePanel being refreshed by a Timer control every 60 seconds. Informational: I have also started playing with the [URL] in place of the Timer control. However, for the purposes of this example I would be content to achieve the desired behavior using native controls as I have described them above.
here I can find some info on how to display data from my MSSQL database in something like old style tables (table,<tr>,<td>) becouse I used to done it like this in classic asp but i had a formula for calculating where to put tr or td and it becomed very confused, not to mention displaying gruped records like 10 on each page...I tried gridview in VisualStudio but I can not find any info how to use sql in it so I think it can not help me becouse it is to much predefined and I do not know where I can change code for it like what data source to use, sql and other important thing