473,796 Members | 2,538 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Designing database web application

Hi!

I want to develop database web application. It will consist of many
similar webpages with grid and ability to edit, insert or delete rows.
All of these webpages will have grids with the same properties, ability
to export data to excel or pdf, the same buttons (edit, insert, delete,
export, print). What I want is to write code only once and use it in
every page. In Delphi, where I usually code, I would create base class
with all of these elements and use it by inheritance. I don't see this
possibility in ASP.NET. Some of common elements (header, footer, menu,
login redirection) of every page can by done by using master pages, but
it doesn't solve my problem with grid. I could also place grid on
master page, but I want to change its properties in visual design mode
on every page. I want to find right approach to this problem. I've
found many tutorials about creating simple database apps, but I've seen
none about bigger ones. Can You help me somehow? I will use VS 2005
with C#. Thank You:)

--
Lukasz Ledochowski
GG: 503647 lu****@tlen.pl
Dec 21 '07 #1
2 1360

"£ukasz Ledóchowski" <lu****@tlen.pl wrote in message
news:fk******** **@inews.gazeta .pl...
Hi!

I want to develop database web application. It will consist of many
similar webpages with grid and ability to edit, insert or delete rows.
All of these webpages will have grids with the same properties, ability
to export data to excel or pdf, the same buttons (edit, insert, delete,
export, print). What I want is to write code only once and use it in
every page. In Delphi, where I usually code, I would create base class
with all of these elements and use it by inheritance. I don't see this
possibility in ASP.NET. Some of common elements (header, footer, menu,
login redirection) of every page can by done by using master pages, but
it doesn't solve my problem with grid. I could also place grid on
master page, but I want to change its properties in visual design mode
on every page. I want to find right approach to this problem. I've
found many tutorials about creating simple database apps, but I've seen
none about bigger ones. Can You help me somehow? I will use VS 2005
with C#. Thank You:)

I assume you are referring to "visual form inheritance" in Delphi. Such a
beast does not exist in ASP.NET, but you can solve your problem quite easily
by either a) sub-classing the DataGrid and adding your own customizable
functionality or b) purchasing a commercial grid that already contains the
functionality you want. A third option is to create a re-usable User Control
containing your grid and various buttons, but that doesn't allow you to
change properties in visual design mode.

Dec 21 '07 #2
Czesc Lukasz,

The obvoius solution to your problem would be creating a set of reusable
components/controls, that can be easly customized through properties. There
two possible ways you could go: User Controls (it usually takes less time and
effort to implement a user control because of designer support) or Web Server
Controls (more generic and flexible but need to be coded manually) (Please
note it's still to mix both techniques by using ASP.NET new 2.0 compilation
model and tools like ILMerge or aspnet_merge). If you don't know where to
start, there are plenty of tutorials out there:
http://msdn2.microsoft.com/en-us/library/26db8ysc.aspx
http://msdn2.microsoft.com/en-us/lib...f6(VS.85).aspx
http://www.15seconds.com/issue/020319.htm

Hope it helps
--
Milosz
"£ukasz Ledóchowski" wrote:
Hi!

I want to develop database web application. It will consist of many
similar webpages with grid and ability to edit, insert or delete rows.
All of these webpages will have grids with the same properties, ability
to export data to excel or pdf, the same buttons (edit, insert, delete,
export, print). What I want is to write code only once and use it in
every page. In Delphi, where I usually code, I would create base class
with all of these elements and use it by inheritance. I don't see this
possibility in ASP.NET. Some of common elements (header, footer, menu,
login redirection) of every page can by done by using master pages, but
it doesn't solve my problem with grid. I could also place grid on
master page, but I want to change its properties in visual design mode
on every page. I want to find right approach to this problem. I've
found many tutorials about creating simple database apps, but I've seen
none about bigger ones. Can You help me somehow? I will use VS 2005
with C#. Thank You:)

--
Lukasz Ledochowski
GG: 503647 lu****@tlen.pl
Dec 21 '07 #3

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

Similar topics

5
1515
by: SuryaPrakash Patel via SQLMonster.com | last post by:
Dear Reader I am trying to design a database. How can I make best Judgement that Indexing (which I am trying to fix during Diagram Desingning process)is ok. I am able to identify the best candidate for the indexing. Below is the details I want to understand: Area ZIP
7
3643
by: Dave | last post by:
I have a system that basically stores a database within a database (I'm sure lots have you have done this before in some form or another). At the end of the day, I'm storing the actual data generically in a column of type nvarchar(4000), but I want to add support for unlimited text. I want to do this in a smart fashion. Right now I am leaning towards putting 2 nullable Value fields: ValueLong ntext nullable ValueShort nvarchar(4000)...
7
1585
by: MuZZy | last post by:
HI, We have a pretty large application with hundreds of forms in it. Now some of our new clients request us to make some custom screens(forms), which basicly comes to rearranging controls on our standard forms - moving existing text boxes, grids, etc. around. We currently are creating custom versions of forms for them and put some sort of flag in their database, so that application knows which version of a form to load depending on...
1
1284
by: slonocode | last post by:
I'm wondering if there are certain processes that I could follow to learn to design better classes? Where could I find these processes? Is designing classes more of an art that comes from experience or can it at least be somewhat done by a process? I have the most trouble with abstracting the specifics, such that a class could be reused or just be generic such that anyone could use them.
7
2054
by: dad | last post by:
REQ: any utilities for designing front-ends for databases
3
1898
by: mystilleef | last post by:
Hello, I need to design a plug-in system for a project. The goal is to allow third party developers interact with an application via plug-ins in a clean and robust manner. At this point I am overwhelmed by my inexperience with designing plug-in systems. Are there any good tutorials on how to design good plug-in systems with Python, or any language? What are the best
1
1297
by: fullxml | last post by:
Hello NG, I have a feeling that this question might not be right for this NG but I got pointers in the past regarding where to look to find the solution so again I have hope someone will point me in right direction. I am trying to create an application (for my own learning experience) that will work totally on add-ons. Means, application will do few/basic things (say create notepad kind of text files) but rest can be enhanced or...
6
1913
by: S. Lorétan | last post by:
Hi guys. I am preparing the rewriting of an huge existing application in VB6. This software is a mess of 10 years of patchs and new functionalities added randomly, and didn't have any logical or oriented-object background. This software is used by many differents persons, and there is a LOT of functionalities that exists only for one or two of them. So, I want to use a plugin-based system. That's it for the background.
1
10104
weaknessforcats
by: weaknessforcats | last post by:
Introduction Polymorphism is the official term for Object-Oriented Programming (OOP). Polymorphism is implemented in C++ by virtual functions. This article uses a simple example hierarchy which you may have seen many times in one form or another. An analysis of this example produces several problems that are not obvious but which will seriously limit your ability to use hierarchies like the example in a real program. Then, the article...
0
10459
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10236
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10182
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7552
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6793
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5445
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5577
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3734
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2928
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.