How can i include both C# and vb.net classes in same
solution?
Answers were Sorted based on User's Feedback
Answer / roopesh m.k
Step 1:
It is possible,In app-Code folder create sub folders
named VB,CS(as you like) and clreate .vb class files in the
folder named VB and .cs class files in the CS folder.
Step 2:
Go to web.config file and mention the following
<compilation debug="false">
<codeSubDirectories>
<add directoryName="VB" />
<add directoryName="CS" />
</codeSubDirectories>
</compilation>
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / romo
Its not possible to include both c# and vb.Net codes in
same solution. The reason is that the parser in .net only
knows one language at a time.
but its possible to refer a ddl assembly in c# which is
created by using vb.net
| Is This Answer Correct ? | 3 Yes | 3 No |
How can we register exception filter from the action?
What are the different types of Session state management options available with ASP.NET?
How can you implement the postback property of an asp.net control?
what is webservices ? and what is web server ?
If Instancing = Single use for ActiveX Exe, how will this be executed if there are 2 consecutive client requests ?
Why should i prefer JSP over asp.net or any other web development language..??
Is asp.net 64-bit enabled? How?
What is form submit?
Explain how does asp page work?
How to authenticate users using web.config ?
I have prepared A Dynamic website in asp.net with c# and using Ms Sql server 2005 as backend database.i am facing problem while uploading this site on my FTP address it is not accessing the database.please could u tell me how cn i upload Sqlserver database on the web and what would be the connection string...???? I am using Server=".";initial catalog=databasename;persist security info=false;integrated security=SSPI;...pleas help me... Thanks in Advance..
How can we identify that the Page is Post Back?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)