string command="select * from "+str_TableCode;
if (ConditionStr.Trim()!="")
{
command+=" where "+ConditionStr;
}
command+=" order by cast(EHF_......... AS int)";
int RowCount=0;
RowCount=con.BindDataGrid(DataGridResult,command,true,30,"",true);
LabelTotalCount.Text=" "+RowCount.ToString()+" 条";
}