Data Controls :: Store Avatar Image In Disk (Folder) Or Database?
Nov 6, 2013m storing profile image or avatar in folder.. which is best method folder or database
View 1 Repliesm storing profile image or avatar in folder.. which is best method folder or database
View 1 RepliesI am working on a journal website where user submit manuscripts , pdf files , is it good idea to store pdf files on directory or on database.
View 1 RepliesI am developing audio related project for that i have stored movie names with mp3 file paths in database I am displaying movie names in grid view after clicking on movie name related mp3 file paths will be display in details view i am unable to play that files in details view how to do this ? Here i am storing original mp3 files in one folder in solution explorer and paths in database
View 1 RepliesI am curious to know the following:
We are going to develop a website where we need to store large number of files. The file size may be uptp 50 MB. What approach should we follow:
1) We should store files in Database
2) We should have a directory and store all the files in that
3) We should hire a SAN Storage and use this seperate location to store the files.
in my project i have a problem with sending document from local machine D Drive..
when i am click send button clicks it automatically fetch the document and send automatically ..
how to storethe image path in database and how to access image from database in asp web form
View 1 RepliesThis is my House_p table
Iamge3 Image2 Image1 Name ID
3.JPG 2.JPG 1.JPG SARA 1
I have a table which contain products, I want each record in the table to have an image. I've created the field with the datatype image. How to I manually add image to the table ?
I want to save zipped file on server disk using DotNetZip in ASP.Net .... This code creates zip and download it in client side download folder..
ZipFile zip = new ZipFile();
List<Attachment> listattachments = email.Attachments;
int acount = attachments.Count;
for (int i = 0; i < acount; i++)
[Code] ....
I have tried one article : [URL] ....
In this article pdf is created on button click.
I want to convert .aspx page to .pdf and save it to local folder (on page load).
I have two pages
1. Register and
2. Preview.
Database Table columns are, ID, Name, Photo..During registration user can preview his/her information before submit their data to thek database. I can store ID and Name data to session state and retrive them easily from preview page but I do not know how to store data to session state. That means, I want to preview all data with Image without store data into database. Is it possible, Is possible, how?
I have seen in your's Save and Retrieve Files from SQL Server Database using ASP.Net
there it is accepting only specific file but i want it should take all type of files. and store it in the database.
I'm using varbinarymax.....IN SQL gridview image and setting the nullimage value doesn't this problem.. I'm looking for code that can make this lil miracle happen
& it doesn't really matter which way , whether the code says if image null then display this image from ~/Images/thispic.jpg or if i1 display this image from ~/Images/thispic.jpg for a little bit more insight into this I'm creating a legend for the database and the null has been used for displaying one pic so i'm after the 1 or visa versa to display another image.... and i'm not trying to upload pics to 1000 plus documents, and when i came at it from a sql angle tying 5 tables together the parent table ended up not sending the proper return. is this even possible or am i ahead of visual studio
i dont know iam placing my query correct place or not but i need ur's help, Iam Reading and storing one single excel file Successfully But
tring Path = @"E:checkinkkk.xls";
iam using asp.net with c#
i want to display an default image from my website folder when there is no image in database , can you correct my code
[Code]....
and in page load
[Code]....
What is the best way to insert and retrieve images like :
In the database in binary form retrieve it with imagehandler, or
In the database by saving the path of the folder of the images and retrieve it, or
by saving the images directly to the folder and retrieve it...
Its related to datatable in gridview store in session and then session retrive and store to database. basically i am using gridview here creating new row for button click and these row adding untill user's last entry then submit all these entry to database. so i want to use session variable to store this data temporarily and after final entry user click on submit button and all data shold be save in db.
View 9 RepliesI have very basic knowledge of ASP.net. I am using following script to resize and image, but the problem is it increases the disk volume of resized image to almost 4 times or original image.
Example:
Original Image: 1024 x 769px and Disk space: 135 KB
Resized Image: 600 x 380px and Disk space: 825KB
Notice resized image becomes 825KB.
Quote:
[code]....
Is it possible to store an Image file (.jpg, .gif, etc) in MYSQL database? Or do it just stores in system and takes reference path of image? I am using ASP.NET C#, so if you have sample code
View 5 Repliesim new to playing with storing and retrieving image to and from database Now i successfully store image into database and able to display it But the problem is the displayed image is too big eventhough it is originally quite small, around 300x400, but display like 800x600 So how do i set the width and height of it?Below is my image storing code
[Code]....
New project requires that the server space be displayed and what the total content is of a folder. Where can i find information on how to do this? can someone provide a small sample or links to information i can review.
View 9 RepliesWhich is the better alternative when allowing file uploads on a page (through a Gridview populated by a coded DataSet)? Store the image itself in the database or to store only the path name to the saved file in file system. If it matters, I do not expect to have more than a few dozen images stored in the database at any given time.
View 7 RepliesI want to create a folder to store some web controls, so the site structure doesn't have a zillion files in the root.
Except that if I create an ordinary folder, that folder is also visible on the web site. MSDN said you cannot put it in App_Code, and it doesn't really make sense to put it in other special folder like App_Data or App_Theme.
I want to stored image in asp listbox control in c#
i don't know how to stored it
I will try and be brief, I am finding when trying to create a custom route with a name and url of properties that my ASP.NET MVC app is returning a 404 file not found when hitting the route.I have deduced this down to most likely be caused by the fact I have a folder on disk called Properties which is of course a common asp.net folder which is automatically created. I have found someone else who has suffered from this problem on SO, but looks like there has been no resolution, only to name your route something different!
Surely this is an oversight, or there must be a workaround? Obviously there will be many common directories you may need as routes and/or folders interchangeably, some of which we already know like Properties probably can't be deleted! I also understand we need to honor real folders as URLs too, but I feel routing should take priority before looking at folders on disk.