i will explain my requirements clearly i have one textbox in this text box we will give movie name ,one file upload control this is for browse the mp3 files after typing the movie name in the textbox, in solution explorer one folder has to create dynamically with the movie name given textbox and that movie name has to store in the database then using fileupload control we will browse the mp3 files that songs has to store in the folder specified by movie name then this songs path has to stores in the database according to movie name how to implement this pls give code for this............
You have created an SQL Command but not passing parameters not executing it
SqlCommand cmd = new SqlCommand(" insert into adio_1(eid) values(@txt_foldername)",con );
sir my task is i have to store the foldername and mp3 path in to the database and display the movie names and songs path in a page from the database by clicking on the song it has to play ?here i cannot store complete song in the database only path has to store in the database?
now i can store the folder name(movie name) and mp3 files path in the database and mp3 files in the specified folder in solution explorer then i have to display the movie name and mp3 files paths in a page after clicking on the mp3 file it has to play?
Simply create a table called Audio with the following columns
1. Id
2. FolderName
3. Path
And use the following insert query
insert into Audio values(1, 'Harry Potter', '/HarryPotter/Song.mp3')
i need to show that songs in a page with play , pause ,stop options
You just need to set the path of music file to the player
Play Audio (MP3) Files in ASP.Net using Flash Music Player
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.