从SQL数据库添加新闻 [英] Add News From SQL database

查看:266
本文介绍了从SQL数据库添加新闻的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想从SQL数据库在我的网站中添加新闻.

我正在使用Tabs控件在其中查看新闻,即Tab1具有本地新闻,Tab2具有这样的公司新闻.

新闻在数据库中具有这些字段(新闻标题,新闻图像,新闻说明).

因此,我不知道如何通过新闻控件在我的网站中动态添加新闻.

请在这种情况下帮助我.

预先感谢您的帮助.

问候
NAEEM

Hi,

I want to Add news in my website from SQL database.

I am using Tabs Control to view News in it i.e Tab1 have local News,Tab2 have company news like this.

News have these fields in Database(News Tittle,News Image,News Description).

So, I have no idea how to Add news dynamically in my website through News Control.

Please help me in this scenario.

Advance thanks for help.

Regards
NAEEM

推荐答案

如果您正在谈论"Melon新闻控件",为什么不从他们的网站上获取信息:

http://docnews.meloncomponents.com [ ^ ]

在这里,他们具有有关控件配置的一些信息:

http://docnews.meloncomponents.com/Configuration.html [
If you are talking about the Melon News Control" why don''t you just get the information from their site:

http://docnews.meloncomponents.com[^]

Here they have some information about the configuration of the control:

http://docnews.meloncomponents.com/Configuration.html[^]

Best Regards,

Manfred


根据您的要求,您可以将Tab控件与带有数据的网格控件一起使用

对于动态选项卡(基于数据库数据创建选项卡)

用于ASP.NET网页的数据库驱动的TabControl [使用ASP.NET AJAX TAB控件 [
For your requirement you can use Tab control with grid controls with data

For Dynamic Tabs(create tabs based on db data)

Database driven TabControl for ASP.NET web page[^]

This one using AJAX tab with grid which fits perfectly.

Using ASP.NET AJAX TAB Control[^]


这篇关于从SQL数据库添加新闻的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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