摘要:
将list转化为IEnumrable可通过new BsonArray(list)实现;class questionInfo { public int _id { get; set; } //试题id public List Samequestions { get; set; } public int... 阅读全文
摘要:
mysql -u root -pmysql>use mysql;mysql>select 'host' from user where user='root';mysql>update user set host = '%' where user ='root';mysql>flush privil... 阅读全文
摘要:
function getQueryString(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); var r = window.location.search.substr(1).match(reg)... 阅读全文