C#
老姥
这个作者很懒,什么都没留下…
展开
-
ASPxGridview哪些事
VisibleRowCount 为ASPxGridview控件的记录行数模板中获取值ASPxCheckBox checkBox= (ASPxCheckBox)this.gridColumns.FindRowCellTemplateControlByKey((“Code”,(GridViewDataColumn)this.gridColumns.Columns["Visible"],"c原创 2018-02-06 21:57:04 · 477 阅读 · 0 评论 -
ASPxGridView显示行号
DEVEXPRESS的ASPxGridView控件,要求能自动显示行号 aspx页面:===========================================<dx:ASPxGridViewID="ASPxGridView1" runat="server"AutoGenerateColumns="False" KeyFieldName="Id" Width="100%"原创 2018-02-06 22:00:39 · 675 阅读 · 0 评论 -
ASPxGridview相关属性
settings 过滤行并且有过滤条件的菜单showFilterRow=trueshowFilterRowMenu=true设置 KeyFieldName的值settingBehavior 允许选中行allowFocusedRow=truestyles 头部居中设置:header: HorizontalAlign= center设置grid出现水平滚动条width原创 2018-02-06 22:02:47 · 701 阅读 · 0 评论 -
ASPxGridView数据绑定
后台帮定代码:using System;usingSystem.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;usingSystem.Web.UI.WebControls;using System.Data;public partial classDefault2原创 2018-02-06 22:07:25 · 983 阅读 · 0 评论 -
GridViewDataTextColumn使用
protected voidPage_Load(object sender, EventArgs e) { dao = new DAO(WINDOWS_FLAG); idao = new NotQuery(WINDOWS_FLAG); if (!IsPostBack) { Vi原创 2018-02-06 22:15:28 · 1734 阅读 · 0 评论