public void SelectFG1(string Nane)
{
string SetText = "卫材代码 like '%" + Nane + "%' or 卫材名称 like '%" + Nane + "%'";
DataRow[] DR = TabSelect.Select(SetText);
if (DR.Count() != 0)
{
int CellIndex = FG1.ColumnCount;
foreach (DataRow DDr in DR)
{
this.FG1.Rows.Add(DDr.ItemArray);
}
}
else
{
return;
}
}
public void SelectFG1(string Nane)