How can i include both C# and vb.net classes in same
solution?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Dynamic Web and discuss its usage with the help of real life examples?

593


What is app_code folder in asp net?

527


Is session server side or client side?

527


What are the different types of validation controls provided in ASP.NET?

663


What is the question mark in a url?

515






What symbol would you use to denote, the start of a code block in aspx views?

571


Explain what is an abstract class?

546


What does asax stand for?

515


What is viewstate in asp net with example?

523


Who generates session id?

486


Hello, Using Visual Studio 2005 (VB) I am working to create a Web Site implementing the following: Within a gridView I have placed a dropdownlist control with a DataSourceID="SDSLkupList". SDSLkupList is a sqlDataSource used to store a lookup list for dropdownlist translation from ID to text. SDSLkupList contains the translation text and other fields related to the dropdown selection ID. (Thought it would be efficient to get everything at the same time.) I would like to provide the user the ability to select from the dropdownlist and, based on the selection, use labels to list related columns stored on the SDSLkupList in separate gridView columns. I have read that SqlDataSources are not meant to be used for individual controls. Since SDSLkupList contains all related information, is there a way to do a find using the dropdownlist selectedValue? (I was not able to discover one.) Otherwise, what should I use? It would need to set the labels on the gridView DataRowBound event as well as the SelectedIndexChanged events. Has anyone done this? Any help would be appreciated. Thanks in Advance. Neal

1367


Fetch one page value to another page without using state-managment ?

528


How to count the number of objects present in a web page? How to count the number of radio buttons in a web page?

625


What are the differences between clr & cts?

532


Explain Apache web servers ? How can you get ASP.NET running in Apache web servers - why should you do this?

504