用easyui datagrid 想动态生成列,在服务器端运行,由于字段用英文,所以需要查询相应的注释作为datagrid的表头

 

select COLUMN_NAME,column_comment from INFORMATION_SCHEMA.Columns where table_name='表名' and table_schema='数据库名'

posted on 2013-01-23 13:03  simq  阅读(28204)  评论(0编辑  收藏  举报