473,410 Members | 1,873 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,410 software developers and data experts.

ASP.NET using C# project

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

Nov 3 '06 #1
2 1080
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..
mr************@gmail.com wrote:
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
Nov 3 '06 #2
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/lib...ompiler_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/
===================================
<mr************@gmail.comwrote in message
news:11*********************@h48g2000cwc.googlegro ups.com...
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

Nov 3 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Jimmy Tran | last post by:
Hi Folks, I have a web database written in asp and using access97. I have many projects, but each project is being held responsible by a person. All people and projects come from the database....
121
by: typingcat | last post by:
First of all, I'm an Asian and I need to input Japanese, Korean and so on. I've tried many PHP IDEs today, but almost non of them supported Unicode (UTF-8) file. I've found that the only Unicode...
5
by: Derek Martin | last post by:
I am creating a windows service and have added a reference to a DLL project that I have created. That DLL file is correctly referenced in both a windows app and a web app, all in the same...
2
by: Bill Nguyen | last post by:
I would like to add a new VB.NET project using the same folder being used by another project so that I can share several forms already creaded by the other project. However, .NET created a new...
1
by: Diffident | last post by:
Hello All, I have a question as to why my users are noticing error when I am building the project on the production system. Here is the problem's background. In order to build the project on...
8
by: Bruce | last post by:
I am using VB in Vs2005. Am I missing something or does VB not have the concept of "builds" (release/debug) like in VC? I wrote an assembly and I would like to have a debug version of the DLL...
12
by: BDowling | last post by:
Hi all, I have an existing Visual C++ project that builds a DLL (not COM or ATL or anything). I wish to use this DLL in a Visual Studio 2005 C# project without having to define each function and...
6
by: =?Utf-8?B?WW9naSBXYXRjaGVy?= | last post by:
Hello, I am using Visual Studio-2003. I created a project to build my library. Since I am using third party libraries as well, I have specified those additional library dependencies in project...
6
by: Daniel Kraft | last post by:
Hi all, in my C++ projects, I usually make "heavy use" of namespaces to "encapsulate" my code. When I have for instance something like this: namespace project { namespace part1 { ... }...
3
by: Jeff | last post by:
I have a solution with two projects. Project A is the startup project, while Project B serves as the project with the data logic. At run time, the first thing I need to do is write to Project...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.