日期:2014-05-18 浏览次数:20880 次
string file = Request["XXX"] == null ? "" : Request["XXX"]; string[] filePath = (file.IndexOf(',') > -1) ? file.Split(',') : {file};
string file = Request["XXX"] == null ? "" : Request["XXX"]; string[] test = { file }; string[] filePath = (file.IndexOf(',') > -1) ? file.Split(',') : test;