To Change the Header Text of DataBound DataGrid
-
Hi. How we can change the header text of the columns which r bounded from the databse AS I donot want to show the the datafield name on the headre text of the columns in datagrid e.g. Dept_Code Instead of this i want to display it as Department Code Hema Chaudhry
-
Hi. How we can change the header text of the columns which r bounded from the databse AS I donot want to show the the datafield name on the headre text of the columns in datagrid e.g. Dept_Code Instead of this i want to display it as Department Code Hema Chaudhry
You could do it in your SQL SELECT statement:
SELECT Dept_Code AS [Department Code] FROM table
RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
You could do it in your SQL SELECT statement:
SELECT Dept_Code AS [Department Code] FROM table
RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome