using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace Stone.WinModule.BasicData { public partial class frmFeaturePart : Stone.WinModule.BasicData.frmBaseMain { public frmFeaturePart() { InitializeComponent(); } public override void Search(string code) { if (code == "") { strWhere = "1=1"; } else { strWhere = " [PartNumber] like '%" + code + "%'"; strWhere += " or [PartName] like '%" + code + "%'"; } } } }