8,497
社区成员
发帖
与我相关
我的任务
分享
public ArrayList WhereFilter(string whereFilter, string orderstr)
{
popsideDataContext pDC = new popsideDataContext();
ArrayList inof = null;
try
{
var source = from d in pDC.si_new_user where whereFilter select d;
if (orderstr.Length != 0)
{
source = from d in pDC.si_new_user where whereFilter orderby orderstr select d;
}
inof = ArrayList.Adapter(source.ToList());
}
catch
{
}
return inof;