摘要:
private string _filePath = @"1.txt"; //查询文件是否存在,如果不存在,则创建 if (!File.Exists(_filePath)) { using (File.Create(_filePath)) { } } using (StreamReader sr = 阅读全文
摘要:
LibDataTable roomdt = roomDataTable as LibDataTable; if (!roomdt.Rows.Cast<DataRow>().Any(dRow => DataUtils.CStr(dRow["RoomId"]).Equals(roomId))) { We 阅读全文