M
M. Simioni
Hi,
I'm using the Dataset Designer Tool to create datasets for my VB.NET
2005 application.
In my SQL Server tables I have odd field names, like "PWD_EXP" or
"SYS_NAME".
I have to show these fields to the user in a datagrid, so I have to
present them with another naming convention (like "Password
Expiration" and "System Name").
My question is very simple :
should i use aliases in my query, to "fix" the name directly in my SQL
query, so that even the Dataset and my business logic contains correct
names ("Password Expiration" instead of "PWD_EXP"), or should i leave
the name fields as they are, and then modify only the Header Captions
of my grids?
I know it's a very stupid question, but i'm always asking me what is
the best practice to do
Thank you i.a.,
best regards
Marco
I'm using the Dataset Designer Tool to create datasets for my VB.NET
2005 application.
In my SQL Server tables I have odd field names, like "PWD_EXP" or
"SYS_NAME".
I have to show these fields to the user in a datagrid, so I have to
present them with another naming convention (like "Password
Expiration" and "System Name").
My question is very simple :
should i use aliases in my query, to "fix" the name directly in my SQL
query, so that even the Dataset and my business logic contains correct
names ("Password Expiration" instead of "PWD_EXP"), or should i leave
the name fields as they are, and then modify only the Header Captions
of my grids?
I know it's a very stupid question, but i'm always asking me what is
the best practice to do
Thank you i.a.,
best regards
Marco