Friday, January 6, 2012

How to use c# class in VB.net Web application

Step 1 : Add App_Code Folder in ROOT directory

Step 2 : Add Two folder n App_Code Folder name as "cscode", "vbcode"

Step 3 : Now open web config file.
Add Follwing section in compilation section

How to use c# class in VB.net Web application

Step 1 : Add App_Code Folder in ROOT directory

Step 2 : Add Two folder n App_Code Folder name as "cscode", "vbcode"

Step 3 : Now open web config file.
Add Follwing section in compilation section

codeSubDirectories>
add directoryName="vbcode"/>
add directoryName="cscode"/>
codeSubDirectories>