日期:2014-05-20 浏览次数:21003 次
protected void grid_HtmlRowCreated(object sender, DevExpress.Web.ASPxGridView.ASPxGridViewTableRowEventArgs e)
{
ASPxComboBox acmb = ((ASPxGridView)sender).FindEditFormTemplateControl("cmbModuleType") as ASPxComboBox;
if (acmb != null)
{
acmb.DataSource = DataAccessFactory.CreateBizHelper().GetTb_SourceType();
acmb.TextField = "ModuleTypeName";
acmb.ValueField = "ModuleTypeId";
acmb.DataBind();
}
}