I am using file upload control to upload the images using VB language, and I am retrieving the uploaded images in a Grid View, but the problem is that the pictures are very small I want to have the original size. For example if I moved the cursor to the image it enlarges it to the original size (Java script)?
How can we view images using grid view control, when i configure grid view data source selecting images from the database, it shows images in the window when i test query, however after viewing the actual grid in the browser the images doesn't shows. also is it possible to view image size according to my requirement.
I have a GridView control in my aspx page with a column that represents logging levels. Instead of displaying the word, e.g"Info", "Debug", "Error", etc. I want to display an image from a file. It seems like I may be able to do this with a template but I have been unable to find any examples of exactly how I would do this.
If "Info" then display "images/info.gif If "Error" then display "images/error.gif etc.
I know this might sound like a simple quesiton, but I am having problems allowing me to upload images along with other information (name, image, biography, wbsite links) to a sql server database, as well as showing images from the database using a drop list control feature. I am using [URL] for hosintg. VB language.
I am attaching an image to a listview from code behind, the image depends on a value from the database and there are 5 different images.It sometimes works fine and then will randomly come up with an error, when nothing has changed, the error is:[Code]....
It doesn't seem to make sense to me because ImageUrl IS a member of image. Here is my code:
i have a database with several paths looking like the one below
C:S&M Site ProjectNEWSMAASitePhotos2GUY093GUY093-Tulips.jpg..
What i aim to do is load the images into a gallery control (if one exist)the users viewing the images should be able to do either of the following:
-Double click on an image to see it bigger or some large predefined size.(thats the viewing part of it) -Select those images the want and then extract it as a single PDF file to any location on the user machine. -print all selected images. -Remove all selected images from the gallery as well as the image path from the database.
I have a requirement to allow users in a content management system to create their own image maps through a gui interface, which I have accomplished. But instead of saving the image map to the page code, I want to save the image map code to a database (sql), which I've also accomplished. When I started down this road in my head I was thinking the whole time that I'd just add the "usemap" attribute at runtime shown below where promo1.ImageMap holds the entire map code:
I have div In my page that in this div I put image control
<div id="DLogos"> <asp:Image ID="imglogo" runat="server" CssClass="ILogos" /> </div> according to below code <div id="Dart1_I1" visible='<%# !string.IsNullOrEmpty(Eval("image1").ToString())%>'>
If in database was image it show div and if there wasn't any image it didn't show div but above code is for div that I put in datalistnow I want do some thing like that for Div that I don't put it in datalist I should write code for that in behindecode page but I don't know How I can do it?behind code
SqlCommand _cmd = new SqlCommand("storeinfo1", _cn); _cmd.CommandType = CommandType.StoredProcedure; _cmd.Parameters.AddWithValue("@behcode", data); _cn.Open(); SqlDataReader _dr = _cmd.ExecuteReader(); while (_dr.Read())
I am trying to generate a Grid view from database, in one of my database columns the values are 'y' and 'N'. and i need to show this values in a check box .I tried to keep a check box in item template and tried to bind it, but could get much success.