private void BindPart(string LocalMapName) { BLocationMapInf bInf = new BLocationMapInf(); System.Data.DataTable dt = bInf.GetList(" MAP_FILENAME = '" + LocalMapName + "' and MAP_PART is not null"); this.cmb_Part.DataSource = dt; this.cmb_Part.DisplayMember = "MAP_PART"; }
private void BindExplain(string LocalMapName, string MapPart) { BLocationMapInf bInf = new BLocationMapInf(); // System.Data.DataTable dt = bInf.GetList(" MAP_FILENAME = '" + LocalMapName + "' and MAP_PART = '" + MapPart + "'"); System.Data.DataTable dt = bInf.GetList(" MAP_FILENAME = '" + LocalMapName + "' and MAP_EXPLAIN is not null"); this.cmb_Explain.DataSource = dt; this.cmb_Explain.DisplayMember = "MAP_EXPLAIN"; }