public static DataSet GetSearchResultEn(string sCriteria)
{
string qry;
qry = "SELECT ID, Name_En, Description_En from tblAlbahaData Where KeyWord_En Like" + sCriteria;
SqlParameter[] inputArray = new SqlParameter[1];
inputArray[0] = new SqlParameter("@Criteria", SqlDbType.NVarChar,2000);
inputArray[0].Value = sCriteria;
try
{
return SqlHelper.ExecuteDataset(Utility.ConnectionString(), CommandType.StoredProcedure, "spGetSearchEn", inputArray);
}
catch (Exception ex)
{
throw ex;
}
}
|