像我们在winforms上一样在ASP.Net表单上查看Gridview
问题描述:
我刚刚开始使用ASP.Net,我很震惊地看到可以在Webform上使用的Gridview外观.是否有可能像在Winforms上一样获得DataGridView控件的功能和外观?
谢谢
Hi,
I have started to use ASP.Net just recently and I am shocked to see the look of Gridview that I could get on webform. Is there any possibility to get the features and look of DataGridView control like we have on winforms?
Thanks
答
Asp.net控件是使用html在浏览器中呈现的,因此您需要使用CSS样式或asp.NET主题(也以HTML/CSS呈现)来调整其外观(LookAndFeel).
我为您找到了一些示例,但是如果您需要更多浏览网页,您会发现很多示例...
1. 使用CSS进行ASP.NET GridView改造 [ ASP.NET GridView主题 [自定义具有CSS样式的ASP.NET GridView控件 [
Hi,
Asp.net controls are rendered in browser using html so you need to use CSS styles or asp.NET themes (which are also rendered as HTML/CSS), to adjust their appearance (LookAndFeel).
I found some examples for you, but if you need more browse the web and you will find plenty examples...
1. ASP.NET GridView makeover using CSS[^]
2. ASP.NET GridView Themes[^]
3. Customizing an ASP.NET GridView control with CSS styles[^]