ASP.NET using C# project

  • Thread starter Thread starter mrajanikrishna
  • Start date Start date
M

mrajanikrishna

Hi Friends,

I am new to dotNET. I am designing an application which has several
modules.
Like Sales, Inventory, Purchases, Accounting etc

In every program, there is common actions like Inserting data to
database, retrieval and update.
In classic ASP, I did in each program.

Is there any other sollution to make this actions(Adding - one seperate
function for all over the project)?

And user login form display in every page if the user not logged on.

pls give me some suggestions of doing an ASP.NET project as I am new.

thanks in advance
 
Hi
ASP.NET is not exactly same as classic ASP. Moreover it also depends
that whether u are using .NET 2005 or 2003..?Database u are using is
SQL Server 2000 or 2005? So many factors are there..
 
re:
Is there any other sollution to make this actions(Adding - one seperate
function for all over the project)?

The standard way to share functions, procedures and methods in ASP.NET
is to create a "helper" class and compile it to an assembly which is then
placed in the /bin directory of your application.

Once there, any of the application's modules can access the routines in the assembly.

See specific info on this at :
http://msdn2.microsoft.com/en-us/library/ms379563.aspx#csharpcompiler_topic6

Of course, the whole article has important background info, too:
http://msdn2.microsoft.com/en-us/library/ms379563.aspx






Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
 
Back
Top