You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

33 lines
995 B

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 frmProduct : Stone.WinModule.BasicData.frmBaseMain
{
public frmProduct()
{
InitializeComponent();
}
public override void Search(string code)
{
base.Search(code);
strWhere += " or [Name] like '%" + code + "%'";
strWhere += " or [Model] like '%" + code + "%'";
strWhere += " or [CarModelCode] like '%" + code + "%'";
strWhere += " or [CarModelName] like '%" + code + "%'";
strWhere += " or [ColorCode] like '%" + code + "%'";
strWhere += " or [ColorName] like '%" + code + "%'";
strWhere += " or [Deploy] like '%" + code + "%'";
strWhere += " or [BarCode] like '%" + code + "%'";
}
}
}