How to change Column name in Datagrid
-
Hi all, Can anybody let me know how to change the column name of datagrid. It displays the same name as per in table. I want to change it. let Emp_Code is the column name in table and I want the column name as Employee Code to be displayed. Please help. Suman Singh
-
Hi all, Can anybody let me know how to change the column name of datagrid. It displays the same name as per in table. I want to change it. let Emp_Code is the column name in table and I want the column name as Employee Code to be displayed. Please help. Suman Singh
It is possible through SQL query. Use 'ALias' command of sql. example select 'FirstName'=au_fname,'LastName'=au_lname from authors use this query, hope you understand it. au_fname and au_lname are column names, where as 'First Name' and 'Last Name' are fake names. bye EsHbAn BaHaDuR