[根本不是问题] ASP.NET(清除标签文本) [英] [Not a question at all]ASP.NET(CLEAR THE LABEL TEXT)

查看:94
本文介绍了[根本不是问题] ASP.NET(清除标签文本)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我想从C#后面的代码中清除标签文本怎么能实现

Hi,

I want to clear the text of a label from code behind in C# how can that be achieved

推荐答案

你可以用Google搜索来得到这个简单的答案:)





you could have googled to get this simple answer :)


labelcontrol.Text = string.Empty;
                //or
               labelcontrol.Text = "";


这篇关于[根本不是问题] ASP.NET(清除标签文本)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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