Data Controls :: Display MP3 Audio Files Stored In Folder On Disk And Path In Database In DetailsView
Oct 12, 2012
I 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
i want to display image which is stored in some folder and its path is stored in database table. i used your link [URL] for the same but i am not storing any thing like data column in my table and have passed name column to Byte[]and so its giving datatype error there. what is the way to convert it to byte?
i want to display image which is stored in some folder and its path is stored in database table. i used your link URL... for the same but i am not storing any thing like data column in my table and have passed name column to Byte[]and so its giving datatype error there.
i wanna play and download song from database but only path of song is stord in database so how to do this and i don't wanna use id of song i wanna select song by column name (ASP.NET)(SQL server)
if (Request.QueryString["vid"] != null) { frmViedo.DataSource = video.GetVideoById(Convert.ToInt32(Request.QueryString["vid"])); frmViedo.DataBind(); } public OleDbDataReader GetVideoById(int id) { string strSelect = "select * from Video where VID = @VID"; return ExecuteReader(CommandType.Text, strSelect, new OleDbParameter[]{ new OleDbParameter("@VID" , id), }); }
But it don't work and i get this error :
Adobe Flash is disabled for this page, click player area to enable. Why?
How to display images in crystal report from database am inserting address (image folder) of images into the database, not inserting images into the database...
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.
I am able to delete the file from database but not from folder. I am also displaying the path in gridview bound field. How do i use Directory.Delete(path of file here)
i have a folder in server for saving my images and inside database i save the image name , now the issue is i want to display the image in image control in datalist how to do that
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.
I have a fileupload control in my web page, through which multiples files are uploaded one by one.And those multiple uploaded files are shown in 'Gridview' below the Fileupload control with Download and Delete button.Now, I want to save all the uploaded files coming in Gridview in my Database column (named "FileName") Separated by comma for particular column ID.i.e, If Gridview contains 3 uploaded files: abc.docx, xyz.pdf, aaa.txt then all the 3 files should also save in database column (named "FileName") for a particular ID.DB table is:
ID Address FileName 1 Aa Abc.txt, xyz.docx 2 Bb 3 Cc 4 dd
I want to upload .pdf or .doc files on server not in the Database, after then i have to show list of all the uploaded Files on another form and when user clicks on one of the Files, the file should be opened in new Tab...
I have images saved in database, now I want to this images fetch from database and save into zipfile and return to the user for download in mvc4? How do that functionality.