Click here to Skip to main content
15,908,618 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi..

I am developing a website. which have lot amount of devotional songs such as mp3,flv,3gp formats..

these data how can i display in webpage without using any database

help me ...
Posted

This question answered in code project I hope. Even one time by me.

So I just add some thought here. Database is not just the branded database software. Anything even a text file where you have the data organized for easily access, easy maintenance then that also a database. Anything organized data. Even a collection of objects with index is an database.

So basically you will end up using a database in some form.

Here is the answer. One form of database is XML. How about using it

Displaying Image when a radiobutton is checked[^]
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 15-Mar-11 0:48am    
Good point about the notion of database, my 5. Nobody say it is "relational database" or any other specif kind. At the same time, OP question is so vague, that I provided the simplest possible answer, damn naive but formally valid, don't you think so.

Important point is: how "database" related to "display"?!

--SA
Using Website without any Database , but some back-end should be essential for displaying your data.
There are few possibilities Code-Behind & Other Source XML
Code Behind with your question, you are trying to host a mp3 website, so with code behind it is possible but there might be sometimes connection falling.
You can create a folder, create a Class Data with properties.
ArrayList list = new ArrayList();
        list.Add("One");
        list.Add("Two");
        list.Add("Three");
with this you can carry you work.

XML File using this file, you can bind to you page and display them in a
<asp:linkbutton text="<%# Eval(" xmlns:asp="#unknown" />
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 15-Mar-11 0:42am    
I agree with you, it would work perfectly, my 5, but as OP did not explain the idea, I suspect something really simple could be implied, see my Answer :-)
--SA
You Question is highly obscured.
The notions "display" and "database" are not related.

You don't have database of you have just collection of files. Let's consider, for example, you have a page in some HTML file and the sub-directory "media" (the relative path name, relative to this page). In this case you can refer to the files like this:

HTML
<!-- (this is comment) to show image: -->
<img src="media/mypictire.jpg" alt="My favorite landscape" />

<!-- to reference sound file: -->
<p><a href="media/mysong.jpg">My favorite song</a></p>


You need to know HTML quite well to do this work, http://en.wikipedia.org/wiki/HTML[^].

—SA
 
Share this answer
 
v3
Comments
Albin Abel 15-Mar-11 0:58am    
Good point. Display and Database. Book marked in my mind. My 5
Sergey Alexandrovich Kryukov 15-Mar-11 1:10am    
Thank you.
--SA
Espen Harlinn 15-Mar-11 12:12pm    
5 - I never expected to see this question on CP :)
Sergey Alexandrovich Kryukov 15-Mar-11 13:10pm    
You probably figure out the Question from my Answer, but I'm not actually 100% sure the Question was about that, it is rather very unclear, so this is the simplest assumption I could think of...
Thank you.
--SA
Espen Harlinn 15-Mar-11 14:07pm    
OP states that he has a lot of files, seems clear enough ... linking to them was a reasonable answer - If I voted blindly for your answers, I expect I would get slammed pretty hard by other CPians :) So I do read your answers, check references, and so on - as you've been pretty active lately, it's actually a bit of an effort :)
Hi,

You can do it using following ways.

Use xml for display data. Or just store all files into folder and display all folder file into page.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900