在不使用任何数据库的情况下显示数据可以帮助我 [英] display data without using any database help me

查看:74
本文介绍了在不使用任何数据库的情况下显示数据可以帮助我的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨..

我正在开发一个网站.其中有很多虔诚的歌曲,例如mp3,flv,3gp格式..

这些数据如何在不使用任何数据库的情况下显示在网页中?

帮助我...

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 ...

推荐答案

这个问题希望在代码项目中得到解答.我也有一次.

因此,我在这里添加一些想法.数据库不仅是品牌数据库软件.甚至是一个文本文件,您可以在其中将数据进行组织以便于轻松访问,轻松维护,然后再建立数据库.任何有组织的数据.甚至具有索引的对象的集合也是数据库.

因此,基本上,您最终将以某种形式使用数据库.

这就是答案.数据库的一种形式是XML.如何使用

选中单选按钮时显示图像 [ ^ ]
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[^]


使用没有任何数据库的网站 ,但是某些后端对于显示数据至关重要.
Code-Behind&其他源XML
隐藏在代码后面,您正在尝试托管mp3网站,因此可以在后面放置代码,但有时可能会断开连接.
您可以创建一个文件夹,创建一个Class Data with properties.
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");

有了它,您就可以进行工作.

XML文件使用此文件,您可以绑定到页面并在

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" />


中显示它们.
显示"和数据库"这两个概念无关.

您没有数据库,而只有文件集合.让我们考虑一下,例如,您在某个HTML文件中有一个页面,并且有一个子目录"media"(相对于此页面的相对路径名).在这种情况下,您可以参考以下文件:

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:

<!-- (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>



您需要非常了解HTML才能完成这项工作, http://en.wikipedia.org/wiki/HTML [ ^ ].

—SA



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

—SA


这篇关于在不使用任何数据库的情况下显示数据可以帮助我的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆