Web矩阵和Visual Web 2005问题 [英] Web Matrix and Visual Web 2005 Questions

查看:65
本文介绍了Web矩阵和Visual Web 2005问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


在Web Matrix中,我可以处理单个ASPX文件并双击

控件,这将需要我到子程序,所以我可以编码按钮。


在Visual Web Developer中,如果我这样做(单个ASPX文件,双击

a控件)它需要我的HTML代码,而不是VB代码。


为什么会这样?


谢谢,

Brian

Hello,

In Web Matrix, I am able to work on a single ASPX file and double click on a
control and it will take me to the subroutine so I can code the button.

In Visual Web Developer, if I do the same (single ASPX file, double click on
a control) it takes me to the HTML code and not the VB code.

Why is this?

Thanks,
Brian

推荐答案

Webmatrix做了与Visual Web Developer相同的事情,但是,

他们只是隐藏了HTML您。他们有3个视图,HTML视图,

代码视图,全视图。当您双击按钮时,它会将您带到代码视图,因此您只看到了VB代码,但是代码仍然是嵌入在aspx页面中的
。您可以看到,如果您选择所有视图。


您可以在VWD中执行Codebehind,但是您必须选择单独选项

单独放置代码当你去为你的网站添加页面时提交文件。

Webmatrix did the same thing Visual Web Developer is doing, however,
they just hid the HTML from you. They had like 3 views, HTML View,
Code View, All View. When you double clicked on the button it took you
to Code View so you only saw VB code, howver, the code was still
embedded in the aspx page. You can see that if you select All View.

You can do Codebehind in VWD, however you have to select the option to
place code in a seperate file when you go to add a page to your website.




" tdavisjr" < TD ****** @ gmail.com>在消息中写道

news:11 ********************** @ g49g2000cwa.googlegr oups.com ...

"tdavisjr" <td******@gmail.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
Webmatrix做了与Visual Web Developer一样的事情,但是,他们只是隐藏了你的HTML。他们有3个视图,HTML视图,代码视图,全视图。当您双击按钮时,它会将您带到代码视图,因此您只看到VB代码,但代码仍然嵌入在aspx页面中。你可以看到,如果选择All View。

你可以在VWD中进行Codebehind,但是当你去添加页面时你必须选择将代码放在一个单独的文件中的选项到你的网站。
Webmatrix did the same thing Visual Web Developer is doing, however,
they just hid the HTML from you. They had like 3 views, HTML View,
Code View, All View. When you double clicked on the button it took you
to Code View so you only saw VB code, howver, the code was still
embedded in the aspx page. You can see that if you select All View.

You can do Codebehind in VWD, however you have to select the option to
place code in a seperate file when you go to add a page to your website.




谢谢..我会试试这个。当我自动创建

SIGNATURE行时,我发现它更容易一些。在单个文件ASPX文件中不会发生这种情况
VWD中的
。至少我不能理解你提到的建议。


这真是太傻了......我是VWD的新手,所以我希望我的问题不是'' t $ / b $ b很傻。



Thanks..I will try this. I just find it a little easier when it creates the
SIGNATURE line automatically. This doesn''t happen in single file ASPX files
in VWD. At least I can''t get it to with the advice you mentioned.

This is just so silly..I am a newbie to VWD, so I hope my questions aren''t
as silly.


您可能需要考虑在这里询问VWD问题:

http://forums.asp.net/175/ShowForum.aspx


有很多开发人员在那里用VWD互相帮助。


Juan T. Llibre,ASP.NET MVP

ASP.NET常见问题解答: http://asp.net.do/faq/

ASPNETFAQ.COM: http://www.aspnetfaq.com /

Foros de ASP.NET en Espa?ol: http://asp.net.do/foros/

======================== ==============

" Brian" ; <峰; br ********** @ gmail.com>在消息中写道

news:uO **************** @ TK2MSFTNGP12.phx.gbl ...
You might want to consider asking VWD questions here :

http://forums.asp.net/175/ShowForum.aspx

There''s quite a few developers helping each other with VWD there.

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
ASPNETFAQ.COM : http://www.aspnetfaq.com/
Foros de ASP.NET en Espa?ol : http://asp.net.do/foros/
======================================
"Brian" <br**********@gmail.com> wrote in message
news:uO****************@TK2MSFTNGP12.phx.gbl...

tdavisjr < TD ****** @ gmail.com>在消息中写道
新闻:11 ********************** @ g49g2000cwa.googlegr oups.com ...

"tdavisjr" <td******@gmail.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
Webmatrix做了与Visual Web Developer一样的事情,但是,他们只是隐藏了你的HTML。他们有3个视图,HTML视图,代码视图,全视图。当您双击按钮时,它会将您带到代码视图,因此您只看到VB代码,但代码仍然嵌入在aspx页面中。你可以看到,如果选择All View。

你可以在VWD中进行Codebehind,但是当你去添加页面时你必须选择将代码放在一个单独的文件中的选项到你的网站。
Webmatrix did the same thing Visual Web Developer is doing, however,
they just hid the HTML from you. They had like 3 views, HTML View,
Code View, All View. When you double clicked on the button it took you
to Code View so you only saw VB code, howver, the code was still
embedded in the aspx page. You can see that if you select All View.

You can do Codebehind in VWD, however you have to select the option to
place code in a seperate file when you go to add a page to your website.



谢谢..我会试试这个。我自动创建SIGNATURE
行时发现它更容易一些。在VWD中的单个文件ASPX文件中不会发生这种情况。至少我不能接受你提到的建议。

这真是太傻了......我是VWD的新手,所以我希望我的问题不是''傻了。



Thanks..I will try this. I just find it a little easier when it creates the SIGNATURE
line automatically. This doesn''t happen in single file ASPX files in VWD. At least I
can''t get it to with the advice you mentioned.

This is just so silly..I am a newbie to VWD, so I hope my questions aren''t as silly.



这篇关于Web矩阵和Visual Web 2005问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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