473,403 Members | 2,359 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,403 software developers and data experts.

Where is the proper place to change the column names?

Im trying to make an application using all the out of the box stuff for
data displaying. Using (or trying to) use a BLL and DLL.
Now, in my database, the tables and columns have names like these:

Table TBL01_PRODUCT
Col PRD_CODE
Col PRD_NAME
etc, etc

What I mean, they are cryptic, not friendly names.
Now when I use the DetailsView or the FormView I get those ugly names
being displayed by default.
Where is the proper place to go and manually rename these column names
to something friendly?
Seems all wires are magically connected and can't find a place to do
this manipulation.

TIA

Nov 10 '06 #1
2 1300
Let me clarify a bit more:

In the details view, in the fields, each field has a HeaderText
property. I can change it here, but if I change it here, it will only
apply to this form, and I'd like a solution that helps me every place I
use the same data layers.

Now, on the dataset, each column has a "Caption" column which by its
name seems its exactly what Im looking for, however is not.
If I change the caption in some of my columns and recreate the
detailsview, I still get the ugly names directly from the database.

So, what to do ?

TIA

cr************@hotmail.com wrote:
Im trying to make an application using all the out of the box stuff for
data displaying. Using (or trying to) use a BLL and DLL.
Now, in my database, the tables and columns have names like these:

Table TBL01_PRODUCT
Col PRD_CODE
Col PRD_NAME
etc, etc

What I mean, they are cryptic, not friendly names.
Now when I use the DetailsView or the FormView I get those ugly names
being displayed by default.
Where is the proper place to go and manually rename these column names
to something friendly?
Seems all wires are magically connected and can't find a place to do
this manipulation.

TIA
Nov 10 '06 #2
Isn't there a solution for this ?
What do you usually do ?

Just note I can't change the database nor the stored procedures, I'm
looking for an asp.net solution.

Nov 10 '06 #3

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

Similar topics

5
by: Mark | last post by:
Hi - I have set-up security for my users - the security is held in a text field, separated by a comma. If the users a member of groups 1, 5 and 6 - the usergroups field is set to 1,5,6 - to...
7
by: Rich | last post by:
CREATE TABLE Sales1 ( varchar (10) CustID, varchar (10) TransID, datetime SaleDate, money S1, money S2, money S3, money S4, numeric V1
4
by: alexandre.brisebois | last post by:
Hi, I am using access 2003, I would like to know if there is an option to reorganize the tables in a maner that is readable, as we can do in sql sever 2000 or 2005. I have been given a database...
8
by: mlwerth | last post by:
Dear Access Group: This is the most basic and most embarrassing of questions, but I cannot find where to change the data type of a text field that I have in Access 2003 to a number field. I've...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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.