VB.NET和C# [英] VB.NET and C#
问题描述
我得到了一个支持和扩展的项目。我的ASP.NET语言是
C#,但该项目是用VB.NET编写的。是否有任何方法可以将代码隐藏文件为C#的
webforms添加到VB.NET项目中?
TIA
MattC
I have been given a project to support and extend. My ASP.NET language is
C#, however the project was written in VB.NET. Is there any way to add
webforms to a VB.NET project with the codebehind file being C#?
TIA
MattC
推荐答案
" MattC" < m@m.com>在消息中写道
新闻:%2 *************** @ TK2MSFTNGP12.phx.gbl ...
"MattC" <m@m.com> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl...
我得到了一个支持和扩展的项目。我的ASP.NET语言是C#,但该项目是用VB.NET编写的。有没有办法在代码隐藏文件是C#的情况下将webforms添加到VB.NET项目中?
I have been given a project to support and extend. My ASP.NET language is
C#, however the project was written in VB.NET. Is there any way to add
webforms to a VB.NET project with the codebehind file being C#?
直到v2.0。
Not until v2.0.
但它让我觉得很脏!!
不,如果没有简单的方法那么认真的话我会在VB中劈开像
过去。
非常感谢
MattC
"约什" < s@a.com>写在消息
news:ud ************** @ TK2MSFTNGP12.phx.gbl ...
But it makes me feel dirty!!
No, seriously if there is no easy way then I will just hack away in VB like
the old days.
Thanks anyways
MattC
"Josh" <s@a.com> wrote in message
news:ud**************@TK2MSFTNGP12.phx.gbl...
我得到了一个支持和扩展的项目。我的ASP.NET语言是C#,但该项目是用VB.NET编写的。是否有任何方法可以将webforms添加到VB.NET项目中,代码隐藏文件为C#?
I have been given a project to support and extend. My ASP.NET language
is C#, however the project was written in VB.NET. Is there any way to
add webforms to a VB.NET project with the codebehind file being C#?
严重的是,我甚至不打扰这个。 VB
和C#之间的差异只是语法上的。如果你挣扎了几页
你将是一个更好的DotNet全能。能够阅读这两种语言
使您可以使用网络上的所有样本。
Seriously I wouldn''t bother even trying that. The differnces between VB
and C# are only syntactical. If you struggle through a couple of pages
you''ll be a better DotNet all rounder. being able to read both languages
makes ALL of the samples on the web available to you.
AFAIK这是一个VS.NET限制。您可以使用命令行编译器使用多个
DLL(因此使用多种语言)构建一个网站。
由您决定它是否是值得...
Patrice
-
" MattC" < m@m.com> écritdansle message de
news:ul ************** @ TK2MSFTNGP15.phx.gbl ...
AFAIK this is a VS.NET limitation. you can build a web site using multiple
DLLs (hence multiple languages) using the command line compiler.
Up to you to see if it''s worth...
Patrice
--
"MattC" <m@m.com> a écrit dans le message de
news:ul**************@TK2MSFTNGP15.phx.gbl...
但它让我觉得很脏!!
不,如果没有简单的方法那么认真的话,我会像过去那样在VB
中劈开。
非常感谢
MattC
Josh < s@a.com>在消息中写道
新闻:ud ************** @ TK2MSFTNGP12.phx.gbl ...
But it makes me feel dirty!!
No, seriously if there is no easy way then I will just hack away in VB like the old days.
Thanks anyways
MattC
"Josh" <s@a.com> wrote in message
news:ud**************@TK2MSFTNGP12.phx.gbl...
I已经获得了一个支持和扩展的项目。我的ASP.NET语言是C#,但该项目是用VB.NET编写的。是否有任何方法可以将webforms添加到VB.NET项目中,代码隐藏文件为C#?
I have been given a project to support and extend. My ASP.NET language
is C#, however the project was written in VB.NET. Is there any way to
add webforms to a VB.NET project with the codebehind file being C#?
严重的是,我甚至不打扰这个。 VB
和C#之间的差异只是语法上的。如果你挣扎了几页
你将是一个更好的DotNet全能。能够读取
两种语言,可以使用网络上的所有样本。
Seriously I wouldn''t bother even trying that. The differnces between VB
and C# are only syntactical. If you struggle through a couple of pages
you''ll be a better DotNet all rounder. being able to read both
languages makes ALL of the samples on the web available to you.
这篇关于VB.NET和C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!