ASP.NET and Entity Framework Customizing The GridView Field Header

为君一笑 提交于 2020-01-05 12:13:11

问题


Can you please let me know how I can Customize the header for fields in Grid View using Entity Framwork and ASP.NET? For Example I have dbcontext instance which is showing on the GridView like this image:

Now I would like to change the Header Style, Format and Presentation to some thing like this:

I am gussing some part of job can be done through CSS styling like changing color but for Changing the CONTRACTORID TO Contractor ID I do not know how to do it?

Can you please let me know how to customize the grid view? Thanks

来源:https://stackoverflow.com/questions/22103847/asp-net-and-entity-framework-customizing-the-gridview-field-header

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!