自定义下拉框代码

//v_func_id = "PMOMMABW03_WHERE";
EFX.EFCGrid.InitSingleGridColumn(this.efDevGrid_where, v_func_id, v_curr_part_name);
(EFX.EFCGrid.GetEFCGridBase(efDevGrid_where) as EFX.EFCGridImp.SingleDev.EFCGridSingleDev).ResetGridValue();
if (factory_div.Trim() == "LG_2")//长材
{
string s_sqlstr = "SELECT ST_NO AS 出钢记号,LG_ST AS 炼钢钢种,INGOT_CODE AS 坯型 FROM PSSMMA.TPSSMMABWD9 WHERE FACTORY_DIV='LG2'";
DataTable dt = EF.Utility.ExecQueryPart(this.ef_args.formPartition, s_sqlstr).Tables[0];
//设置任务编号数据源
(EFX.EFCGrid.GetEFCGridBase(efDevGrid_where).Columns["ST_NO"]).SetPopupGridDataSource(dt, "出钢记号", new string[] { "炼钢钢种", "坯型" });
}

浙公网安备 33010602011771号