Data Controls :: Display MP3 Files In GridView And Play Them
Nov 27, 2012
i have a requirement like...we display all the mp3 detaiils in a gridview...a link button or hyperlink is placed in the gridview..once the link button or hyperlink is clicked a seperate popup window shouls appear and respective songs or audio file should be played...
View 1 Replies
Similar Messages:
May 7, 2015
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)
View 1 Replies
May 7, 2015
<asp:GridView ID="GridView1" DataKeyNames="Imgid" EmptyDataTex="No image" runat="server" AutoGenerateColumns = "False"
Font-Names = "Arial" OnRowDataBound="GridView1_RowDataBound" OnRowDeleting="GridView1_RowDeleting">
[Code].....
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)
View 1 Replies
May 7, 2015
<form id="form1" runat="server" enctype="multipart/form-data" method = "post">
<span style ="font-family:Arial">Click to add files</span>
<input id="Button1" type="button" value="add" onclick = "AddFileUpload()" />
<br /><br />
<div id = "FileUploadContainer">
<!--FileUpload Controls will be added here -->
</div>
[CODE]...
I just want to display the file name and the path where it is saved like the table format once it is Dynamically file uploaded
View 1 Replies
Apr 12, 2013
I have used the tutorial for Save and Retrieve Files from SQL Server Database using ASP.Net It's working well for saving and retrieving on page OR on label. For the file retrieving section i want the file to be displayed as link "Download" in Gridview and when i click on download link file should start downloading.
View 1 Replies
Mar 8, 2014
I want use flowplayer to play my flv video file. I have a datalist like below :
<asp:DataList ID="frmViedo" runat="server">
<ItemTemplate>
<div class="flowplayer"> <video>
<source type="video/flv" src='<%# Eval("Vurl" , "~/Videos/Video/{0}") %>'>
</video></div>
</ItemTemplate></asp:DataList>
In code behind :
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?
View 1 Replies
Jun 20, 2010
how to load Gridview HeaderText values from resource (.resx) files.I want to display headertext values for Gridview based on two different application dynamically.
View 6 Replies
Aug 26, 2010
I am trying to open different types of files that I have uploaded on my sql server database. I would like to display all the list of files in Gridview. When user click the link it should open download dialog box and should be able to open its particular applications such as word, excel, browsers etc.
View 3 Replies
Jan 31, 2011
I am working on CMS program and i want to be able to play .xap files (Silverlight Files) the problem
I can't find a tag that can contain xap files and be valid in c# code to be able to change the source file
View 3 Replies
Jan 14, 2010
I am developing a ASP.NET by using c#.net and have many WMV files and have to watch the range of the file which I gave.The size of files are too big also the users shouldn't download the all of the file , should download between the range which I give .
View 1 Replies
Jul 9, 2010
i have an example of a windows app media player. which opens up a file selection and plays that mp3. i want to play from a web location.
the method is below whch i am using, i have commented the old code, how would i get a track to play which is located on the web?
[Code]....
View 1 Replies
Nov 20, 2010
I would like to build a component to play all the audio/media files(especially .flv files) using asp.net.so could you please provide me the necessary code/idea to create the component
View 1 Replies
Jul 16, 2012
How to play audio and video files...
View 1 Replies
Mar 11, 2010
I would like to display a list of files from file system in a ListView, so the data is not coming from database. How can this be done?
View 2 Replies
May 7, 2015
I want perticular file from sub directory i only know name of parent directory then how to get file
But it gives me string array
I want info like FileInfo[] listfiles = root.GetFiles();
So I can get all info with extension..
View 1 Replies
Sep 7, 2010
i have a gridview binded with data when i hover mouse to row i want to display a image button to display date ,and when i click the button i want to display calender control for choose date, and next step after i choose date it will be must insert into database. and mean while a hidden label control will display and date shuld be display in it
View 2 Replies
May 7, 2015
After saving image in db how can we retrieve it in gridview like thumbnail size image and by clicking on image in gridview its open as preview. How can we do this in asp.net using c#.
View 1 Replies
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
View 1 Replies
Jul 2, 2011
I would like also to know the way to have an embedded video in my site that will not have the play buttons and play again and again. Is there a way to do that??
View 2 Replies
Jan 4, 2010
I am facing problem when i try to deploy my website on iis 7.0 on test page.
i have to display some .mht files on iframe in gridview and error looks like below,
[code]....
View 6 Replies
Jul 14, 2012
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...
View 1 Replies
Apr 22, 2012
how to upload file in asp.net using c# with respect to grid view as when i upload file.. den using grid view i can view all d information n get a option to download dat uploaded file from gridview....
View 1 Replies
Aug 10, 2013
Follow this Link [URL] .... in this tutorial can play video popup but i wnat to retrive this video link in sqlserver using datalist ...
View 1 Replies
Apr 9, 2010
i store a file name in column like(1.dat).when i try to download this actually from the folder which is in solution exploer ... but i dont understnd how to download it through its name ...i use some code
View 2 Replies
Oct 13, 2010
I have a small website with a database. Just two tables for personaldata and for files belongs to the personal data.
This files are stored on HD. My problem is to delete this file by clicking on delete button within gridview. At the moment only the record is deleting but not the file which belongs to this record.
That is my Gridview:
[Code]....
and that is my codebehind file:
[Code]....
and see the screenshot. (how it looks like)
i get allready help here to create the right codebehind file for that.
i have tried that this way:
[Code]....
But i think instead of txtFile.Text the filename of thefile should be readed out of the database on this place or Im wrong?
View 3 Replies