Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
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.
Posted
Updated 8-Oct-13 19:45pm
v4
Comments
JoCodes 9-Oct-13 1:45am    
Have you tried anything so far???
Sehaj 9-Oct-13 1:48am    
i am unable to group my thoughts over this. I did try using the simple marquee control but it didn't work.

Moreover , since i wanted to dynamically get the news from the databases, i could find no way out to implement this.

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.
 
Share this answer
 
Comments
Sehaj 9-Oct-13 1:51am    
thanks, but i have a question.
is it still possible to dynamically get the news fetched from the db?
Adrishya 9-Oct-13 1:54am    
http://www.c-sharpcorner.com/UploadFile/krishnasarala/display-marquee%E2%80%99s-on-Asp-Net-webpage/

Try this link for the dynamic fetching
Check my answer, we have jQuery plugins for News. That will be very easy and you can also do it instead of marquee.
Adrishya 9-Oct-13 1:58am    
Thanks for info, but I need that before six month for Final Year Project. But I completed it with just using marquee :), will be using these plugin if required in future.
Yes, no problem. :) However, you can still up-vote the answer, if you like it. :P
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]
 
Share this answer
 
v2
Comments
Sehaj 9-Oct-13 1:52am    
this link looks informative. Thanks.
Will get back after i read it through.
JoCodes 9-Oct-13 1:54am    
Yes , these links are fetching the content dynamically from DB.
JoCodes 10-Oct-13 1:27am    
Thanks for accepting the Solution.
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[^]
 
Share this answer
 
Comments
Sehaj 9-Oct-13 2:07am    
thanks
Hi Sehaj,

Please accept this answer, if it has helped you in any way.
This will help others to find the answer in one go and you will also be awarded with some points for this action...

Thanks,
Tadit

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