|
-
January 5th, 2004, 05:22 AM
#1
Datagrid Control's Problem
Hi friends,
I have used a DataGrid Control in my page and have also implemented its Default Paging.Now the problem is that the Title of Coulmn Headers are same as the coulms headers in Databese table, but i want to change there Title at run time..How can i implement that?????
Its urgent...if somebody can provide me with quick response.
Thanks
Deepak
-
January 6th, 2004, 10:52 AM
#2
The quickest solution is to change the title of the header while you are reading out of your sql already, using the ALiAS Expresion - this way you don't even need to touch your code!
Example:
SELECT CloCountry AS Country, ColFlag AS FLAG
FROM tmpTable
Now you have changed the headertext already !
TADA
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|