Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Where is the proper place to change the column names?

Reply
Thread Tools

Where is the proper place to change the column names?

 
 
craigkenisston@hotmail.com
Guest
Posts: n/a
 
      11-10-2006
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

 
Reply With Quote
 
 
 
 
craigkenisston@hotmail.com
Guest
Posts: n/a
 
      11-10-2006
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



http://www.velocityreviews.com/forums/(E-Mail Removed) 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


 
Reply With Quote
 
 
 
 
craigkenisston@hotmail.com
Guest
Posts: n/a
 
      11-10-2006
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.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Proper place for everything Jason Benjamin Python 18 11-05-2012 07:43 PM
Proper way to reload CompositeControl when its state must change after Postback jeljeljel ASP .Net Building Controls 1 09-20-2007 07:36 PM
need help to place my gem in proper location Mohammad Khan Ruby 3 01-10-2006 03:55 AM
Formatting a number, placing the decimal in the proper place BoomerangThree Java 3 08-20-2004 05:49 AM
Proper resizing of middle column Daan HTML 9 12-24-2003 09:50 AM



Advertisments