如何使用C#代码更改Listitem文本? [英] How Do I Change The Listitem Text Using C# Code ?
本文介绍了如何使用C#代码更改Listitem文本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我希望更改li文本从注册到特定用户登录时退出..
解决方案
< li runat =serverid =id1
然后你可以设置代码背后的文字
id1.InnerText = 已登录..
I want the change the li text from sign up to sign out when a perticular user is logged in..
解决方案
<li runat="server" id="id1"
then you can set the text from code behind
id1.InnerText ="Logged in.."
这篇关于如何使用C#代码更改Listitem文本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文