myCmd.Parameters.Add("@tag", SqlDbType.VarChar).Value = tag;
myCmd.CommandText = "SELECT ArticleID, Title, substring(replace(substring(atext,0,charindex('',atext)),'',''),0,charindex('
',atext)) as atext from tblgatewayarticle where sectionid=@sectionid and subsectionid=@subsectionid"
+ " and (title like @kw or atext like @kw )";
myCmd.Parameters.Add("@kw", SqlDbType.NVarChar, 50).Value = "%" + Request.QueryString["kw"] + "%";