protected override void DoSetParam(string tag, params object[] param) { base.DoSetParam(tag, param); if (tag == "dalassembly") { BLL.BllDataBase bll = new BLL.BllDataBase(); List <FuncAssemblyInfo> result = bll.GetAssemblyinfos(); if (result != null) { DataTable dt = this.dataGridView1.DataSource as DataTable; DataTable data = LibSysUtils.ToDataTable(result); DataTableHelp dthelp = new DataTableHelp(data, dt); dthelp.CopyStable(); //DataRow row = null; //foreach (var item in result) //{ // row = dt.NewRow(); // row["FuncID"] = item.FuncID; // row [""] //} } } }