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 |
What is the base class from which web forms are inherited?
Can you edit data in the Repeater control?
How can we create custom controls in asp net?
To which side ( server ? client) does the user input data validation occur? Explain the reasons for it?
Is it possible to use two versions of assembly at the same time?If possible explain with code?
What is the maximum amount of memory any single process on Windows can address? Is this different than the maximum virtual memory for the system? How would this affect a system design?
How do I send an email message from my ASP.NET page?
Types of optimization and name a few ?
what is the difference b/w Asp.net server controls and html server controls in .net?
2 Answers iGate, Profiniti Systems,
In try catch blocks one is normal catch block and another is sqlcatchexception block
How many rules are there regarding a well formed XML document? a) Nine b) Three c) Six d) Two
I am using ASP.Net 2.0. I added the following code in button_Click page. but 'PreviousPage' is not taking as a keyword. It throughs an error. Page Poster = this.PreviousPage; TextBox txtNewTest = (TextBox)Poster.FindControl("txtTest"); sDisplay = txtNewTest.Text; Response.Write(sDisplay); The following is the Error Message: 'controls_LoginMain' does not contain a definition for 'PreviousPage'