Exemplo n.º 1
0
    public List <string> KeyWordAutoPopuletSearchMasterProduct(string SearchKey)
    {
        productManager objProduct = new productManager();

        objProduct.SearchKey = Convert.ToString(SearchKey);
        List <string> MPN = new List <string>();
        DataTable     dt  = new DataTable();

        dt = objProduct.KeyWordAutoPopuletSearchMasterProduct();
        if (dt.Rows.Count > 0)
        {
            foreach (DataRow dr in dt.Rows)
            {
                MPN.Add(Server.HtmlDecode(dr["SearchKey"].ToString()));
            }
        }
        else
        {
            MPN.Add("No record found");
        }
        return(MPN);
    }