如何将值从数据库传递到marquee [英] how to pass the value from database to marquee

查看:83
本文介绍了如何将值从数据库传递到marquee的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道如何从数据库值到marque标签请解释...

i donot know how to get from database value to marque tag please explain...

推荐答案

你必须动态写入Marquee的标签



例如



< marquee behavior =slidedirection =left>&rs.field( columnname)&< / marquee>
You have to dynamically write the tag of Marquee

E.g.

<marquee behavior="slide" direction="left">"&rs.field("columnname")&"</marquee>


< marquee behavior =slidedirection =left><%= strValue%>(columnname) &< / marquee>





代码背后



public string strValue =abc;
<marquee behavior="slide" direction="left">"<%=strValue%>("columnname")&"</marquee>


in code behind

public string strValue ="abc";


这篇关于如何将值从数据库传递到marquee的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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