invilmAdolo
New Member
I am using one file named builddata.cs which contains c# code to manipulate some data. But the same file is used in few different places. <BR>This is the code i use in different aspx files.<BR><BR><%@ Page language="c#" Codebehind="builddata.cs" AutoEventWireup="false" Inherits="Application1.WebForm1" %><BR><BR>But the [roblem is, builddata.cs file is automatically crated in the folder where i refer this file to. and what i get is redundent code.<BR><BR>Is there any way to share this .cs file??<BR><BR>I tried using ascx and some usercontrol thing. but i am not sure it will work or not. <BR><BR>From some where i heard, it will better to create a dll from this .cs file and use it where ever i need it.<BR><BR>If anybody got suggestions please do help.