I am first working on this module. Target is to show all the pictures from images folder to datalist. I myself got the code from other sources and not getting the logic that's why I am continuously receiving error..
My application stores images in a particular directory, and I would like to display these images (in rows and columns) on a webform, with the "Remove" link on each of them in order to delete some of them if necessary.
Are there any links that may point me to the right direction? Most of the links I found dealt with displaying images that came from a string stored in a table.
how to upload images to server(application/images folder) and retrive(display) from and on client PC for asp.net. its just for uplaoding logo directly to server folder and retriving from server to client. i am not getting server path on client pc for image.
Within my web application the users complete a application which stores all of their company details into a database, within the application their is a section to complete details for all of their employees.
The admin has the ability to view each company's application in full for reference, now I want to display the employee details on a sperate web page using the GridView control. Unfortunately when creating a datasource for the GridView I am unable to use a varible (currentCompanyId) to pass the employee's companys id into the query to display the correct employee's for the correct application.
Does anybody know another apporach to this? Or maybe there is a better way to do this altogether?
I want to bind data(For ex: Employee name, Employee ID from Employee) to a dropdownlist and the data should be displayed in dropdownlist as two columns. I don't want to separate this columns by using any special characters like | or '-'. I want to display them as different columns in a dropdownlist.
How can i achieve this using .net and the data i need to retrieve using SQL server 2008.
Here i have problem in Bed management in HOspital Management System, how to display the the image in Grid view, when ever a Record has been entered in to the Database.if the entered person is MALE, "M"(Image) should be displayed,if FEmale is entred in to Database "F" ,Image should be added to Grid view.. and if i right click on the "M" or "F"(image), corressponding details should be come like when he joined, Place ,city ,address should come.
I'm trying to display images in a gridview, but after following the examples of maybe 7 different tutorials I still haven't succeded. There are always some things that go unexplained. My latest attempt is according to this tutorial:
Problem No1: what exactly should I write in my ashx-file? Following the example in the tutorial this is the code so far:
Using "Enable Delete" from Gridview control, I can delete (besides, update, sort, paging, etc) data from the database (this is done automatically). However, how can I delete the actual image that resides in my image folder (i.e. from "pix" folder )? What is the best way to delete image? If using code behind, how? Please write a full code for me. Here is my source code.