Click here to Skip to main content
15,886,519 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello Friends,

I want to use class file in our website.how it can possible.
Guide me Please.

Thanks in Advance.
Posted
Updated 29-Jun-11 19:25pm
v2

you add a file under App_Code

add new .cs file. (class file.)

public class CLASSNAME


then you can call it up on other files within the app

CLASSNAME.WhatEverYouPutInsideIt


should come up on the intellisense.

good luck.
 
Share this answer
 
Comments
guptaadeepak 30-Jun-11 1:45am    
do u have any ref. link so that i am go through of it
May be this helps you
 
Share this answer
 
Comments
[no name] 30-Jun-11 2:17am    
Nice Link Arathi. My 5 too.
guptaadeepak 30-Jun-11 3:48am    
hello arathi in your like for console application and i am looking for website any way thanks for send me link
<a href="http://www.itorian.com/articles/aspdotnet/post/1065339597-Using-Class-File-in-ASP-NET%5C1065339597-Using-Class-File-in-ASP-NET.aspx">try this this link solve my problem</a>[<a href="http://www.itorian.com/articles/aspdotnet/post/1065339597-Using-Class-File-in-ASP-NET%5C1065339597-Using-Class-File-in-ASP-NET.aspx" target="_blank" title="New Window">^</a>]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900