如何通过代码更改Web窗体的标题? [英] How to change the title of a Web Form through code?

查看:78
本文介绍了如何通过代码更改Web窗体的标题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨新闻组,


有人可以通过VB.NET代码告诉如何更改

Web窗口窗口的标题吗?


在VB 6中我会写Me.Caption =" title",

以及它在VB.NET中是什么?


感谢您的帮助


问候,

Frank

Hi newsgroup,

could someone please tell how to change the title of a
Web Form window through VB.NET code?

In VB 6 I would write Me.Caption="title",
and what is it in VB.NET??

Thanks for your help

Regards,
Frank

推荐答案

查看属性 - 查找文本并查看值Form1。 - 猜猜

做什么!


Me.Text =" Title" - 我会尝试的!


KS,丹麦


Frank Lehmann <˚F****** @ world4net.com> skrev i en meddelelse

新闻:eI ************** @ TK2MSFTNGP12.phx.gbl ...
Look through the properties - find Text and see the value "Form1" - guess
what to do !

Me.Text="Title" - I would try that !

KS, Denmark

"Frank Lehmann" <f.******@world4net.com> skrev i en meddelelse
news:eI**************@TK2MSFTNGP12.phx.gbl...
嗨新闻组,<请问有人可以通过VB.NET代码告诉如何更改
Web窗体窗口的标题吗?

在VB 6中我会写Me.Caption =" ;标题,
以及它在VB.NET中是什么?

感谢您的帮助

问候,
Frank
Hi newsgroup,

could someone please tell how to change the title of a
Web Form window through VB.NET code?

In VB 6 I would write Me.Caption="title",
and what is it in VB.NET??

Thanks for your help

Regards,
Frank



嗨Keld,


我害怕Me.Text = ..是不可能的。在这种情况下,文字不是我的财产




问候,

弗兰克

" KS" <柯************ @ os.dk> schrieb im Newsbeitrag新闻:e
Hi Keld,

I''m afraid Me.Text=.. is impossible. Text is not a property of Me
in this context.

Regards,
Frank
"KS" <ke************@os.dk> schrieb im Newsbeitrag news:e


************** @ TK2MSFTNGP10.phx.gbl ...
**************@TK2MSFTNGP10.phx.gbl...
浏览属性 - 查找文本并查看值Form1 - 猜猜怎么做!

Me.Text =" Title" - 我会试试!

KS,丹麦
Look through the properties - find Text and see the value "Form1" - guess
what to do !

Me.Text="Title" - I would try that !

KS, Denmark



这篇关于如何通过代码更改Web窗体的标题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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