//判断查询条件方法
public Boolean checkcontent(string content,string checkcontent)
{
Boolean result = false;//判断是否有符合的
Char[] chArr = content.ToCharArray();
List<string> strList = new List<string>();//保存拼接的新数组
string new_content = "";
for (int i = 0; i < chArr.Length; i++)
{
new_content = new_content + chArr[i];
strList.Add(new_content);
}
for (int i =0;i< strList.Count;i++)
{
string s = strList[i].ToString();
if (checkcontent==s)
{
result = true;
}
}
return result;
}