摘要: While we want to attach a singal .MDF file(without log file) for a DB in SQL SERVER, we will meet the problem "At least one file is needed for databas 阅读全文
posted @ 2018-05-22 10:07 怡星梦 阅读(220) 评论(0) 推荐(0)
摘要: netsh firewall set portopening TCP 3389 "Remote Desktop" reg add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /t REG_DWORD /v fDenyTSConnec 阅读全文
posted @ 2018-04-04 13:09 怡星梦 阅读(87) 评论(0) 推荐(0)
摘要: { String url = url; try { HttpWebRequest webRequest = WebRequest.Create(url) as HttpWebRequest; webRequest.PreAuthenticate = tru... 阅读全文
posted @ 2018-03-22 14:17 怡星梦 阅读(844) 评论(0) 推荐(0)
摘要: import re import configparser import os cf = configparser.ConfigParser() cf.read("Config.ini",encoding='utf8') pwd_Length = cf.getint("Password","pwd_Length") def checkPassword(password): pas... 阅读全文
posted @ 2018-02-02 16:42 怡星梦 阅读(187) 评论(0) 推荐(0)
摘要: import configparser import os import LineScan cf = configparser.ConfigParser() cf.read("Config.ini",encoding='utf8') file_Types = (cf.get("FileTypeFil 阅读全文
posted @ 2018-02-02 16:41 怡星梦 阅读(482) 评论(0) 推荐(0)
摘要: 今天在使用foreach循环遍历list集合时,出现Collection was modified; enumeration operation may not execute.这个错误,查了半天才发现是当想要修改list集合时,不能使用foreach,因为foreach是取只读的,在取的时候数据不 阅读全文
posted @ 2018-01-08 11:19 怡星梦 阅读(574) 评论(0) 推荐(0)