using System;
using System.Data; 
using Meta.Web;
using Meta.Web.Security;
using Meta.Data.Member;
using Meta.Data;
using MetaSite.Components.Providers; 

namespace MetaSite.Components
{
	/// <summary>
	/// Searchs¡£
	/// </summary>
	public class Searchs
	{
		public static DataTable GetSearchData(int sty,string keywords,int mode)
		{
			//²»¿ÉÒÔ
			//string searchKey = keywords;
			//string key = "Search:{0}-{1}";
			//string cacheKey = string.Format(key,sty,keywords);		

			//DataTable t = CacheData.Get(key) as DataTable;

			//if ( t != null)
			//	return t;				
 			
			return CommonDataProvider.Search(sty,keywords,mode);
		}
	}
}
