Life Since 1985

Happy Hacking
更改gridview的列标题

gridview数据源绑定

david kei posted @ 2011年3月14日 13:10 in DotNet , 1671 阅读

 

gridview1.DataSource = object;

gridview1.DataBind();

 

nodejs quiz 说:
2017年11月10日 20:04

The information you share is very useful. It is closely related to my work and has helped me grow. Thank you!

charlly 说:
2023年1月17日 17:24

A GridView can be bound to a data source in order to display data in a tabular format. When binding to a data source, the GridView will automatically generate columns based on the fields in the data source. The GridView can also be manually configured to display specific columns. When configuring columns manually, Buy CBD Offline the GridViewDataColumn is used to represent data fields, and the GridViewCommandColumn is used to represent command fields.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter