格式化字符串 string result=String.Format("Select * from TblCategory where (ParentId={0}) order by CategoryIndex", Pid);