如何在asp.net中使用选框类型控件 [英] how to use a marquee type control in asp.net

查看:66
本文介绍了如何在asp.net中使用选框类型控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的数据库中有一个新闻表,存储了我校老师提交的新闻。



现在我想向学生们展示这些新闻标题他们的个人资料页但我想要实现的方式是 BWF 中显示的方式。全球头条新闻专栏。请参考。





我想在垂直旋转中显示这些存储的标题。



此外,当教师添加一些新消息时,这是如何随机改变的。



如果还有其他方法可以实现这一点,例如jscripts和jquery,我也向他们开放。



请帮忙。



谢谢。

解决方案

几个月前我也尝试了这个,但我找不到完美的解决方案。所以,我只是使用< marquee>为目的。 Visual Studio将显示警告消息但不会影响您的系统。


检查下面的链接,这些链接显示Marquee控件中的动态内容。

您也可以相应地设置方向。



在ASP.Net网页上显示Marquees [ ^ ]

如何在字幕中显示文本并在asp.netc中从sql数据库中检索# [ ^ ]



希望这会有所帮助...







添加链接文字以反映文章/质量保证标题。

[/编辑]


< blockquote>你应该尝试一些 jQuery 插件。以下是其中一些。

请参阅演示,了解它们的工作原理并选择最符合您要求的演示。



1. < a href =http://jquery-plugins.net/tag/news-scroller>新闻滚动 [ ^ ]

2. 新闻股票代码 [ ^ ]


I have a news table in my database which stores the news submitted by the teachers of my school.

Now i want to show these news headlines to students in their profile page. But the way i want to implement is the one like shown in BWF . The Global Headlines column . Please refer.


I want to show these stored headlines in vertical rotation.

Also , how does this randomly change when some new news has been added by the teachers.

If there are other methods of implementing this such as jscripts and jquery , i am also open to them.

Please help.

Thanks.

解决方案

I was also trying this some months before but I could not find the perfect solution for this. So, I simply used <marquee> for the purpose. Visual studio will show the warning message but that will not affect your system.


Check these links below which shows the dynamic contents in the Marquee control.
You can set your directions also accordingly.

Display Marquees on ASP.Net Webpage[^]
how to display text in marquee &retrive from sql database in asp.netc#[^]

Hope this helps...


[Edit member="Tadit"]
Link text added to reflect the Article/QA title.
[/Edit]


You should try some jQuery Plugins. Following are some of them.
Please see the demos to know how exactly they work and select the one, which suits the best for your requirements.

1. News Scroller[^]
2. News Ticker[^]


这篇关于如何在asp.net中使用选框类型控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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