hi all,
I have a project in vb.net 2003 with sql server.In a particular form
I want to scroll some data which is coming from database on page load
event i.e content should scroll automatic until the life time of the
page.If anyone has the solution of my problem, then please tell me.
Thank's.
Rakrus106 reputationPosted Feb 19, 2008, 11:50 PM EST
Hi,
The tag is enough for this.
Place the control in tag to which you binded the retrived data from database,and set behavior="scroll"
property to the tag.
Niradhip ChakrabortyRank #429 · 5.8K reputationPosted Feb 20, 2008, 9:19 AM EST
Go to html view and add a
<%# DataBinder.Eval(Container.DataItem,"uty_vch_code")%>
<%# formatcurrency(DataBinder.Eval(Container.DataItem,"Deposit"),2) %>
<%# formatcurrency(DataBinder.Eval(Container.DataItem,"Rent"),2) %>
Dont get confused by the code.Just refer the portion u can ignore the remaining code inside the and write your own code.
harikesh sharma6 reputationPosted Feb 20, 2008, 7:12 PM EST
Thanks sir,but problem is that i have taken an user control and i want to scroll contents from down to up direction.earlier i had taken 2 button .on the click event of one button ,i had called a javascript function for scrolling in up direction and for second in down direction.
I have used your solution but there is an error in the use oftag.
"Active schema does not support the use of Marquee"
I know this is for using the javascript,but I don't know what exactly to do.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts