摘要:
for asp.net, there are 2 spaces to set the maximun upload size. 1. in web.config, like this<httpRuntime executionTimeout="6000" maxRequestLength="150000" />2. in IIS=>Request Filtering: if your uploa... 阅读全文
posted @ 2011-11-17 14:20
Jack Niu
阅读(396)评论(0)推荐(0)
编辑
摘要:
Purpose: Parse MSI installer, to get information such as product name, product code, properties etc. MSI is a standard windows install techonoly, so there are APIs for developers to access. But they a... 阅读全文
posted @ 2011-11-17 14:07
Jack Niu
阅读(685)评论(0)推荐(0)
编辑
摘要:
// a demo stringstring xml = "<Root><Eles><Ele>abc</Ele><Ele>123</Ele></Eles></Root>";System.Xml.XmlDocument doc = new System.Xml.XmlDocument();doc.Load... 阅读全文
posted @ 2009-05-09 10:48
Jack Niu
阅读(1292)评论(0)推荐(0)
编辑
摘要:
Every time I create an IIS website, I do some steps, which I consider as best practice for creating any IIS website for better performance, maintainability, and scalability. Here' re the things I do: ... 阅读全文
posted @ 2008-10-13 12:42
Jack Niu
阅读(421)评论(0)推荐(0)
编辑
摘要:
select top 1 * from table order by newid()
top后面的数字就是你要随即搜索出来几条数据,这个方法只适用sql server
SELECT top 4 * FROM 表 ORDER BY Rnd(id)
这句适用于ACCESS的
select * from table_name order by rand() [limit num];
mysql的随机查询语句。
阅读全文
posted @ 2008-10-09 11:05
Jack Niu
阅读(506)评论(0)推荐(0)
编辑
摘要:
环境:XP sp3, Visual Studio2008 sp1 错误现象:打开.dbml(LINQ) 文件,提示 "The operation could not be completed."对话框,不能打开.dbml文件;另外,也不能创建Entity Framework文件 解决办法:Delete the items under the following registry key: HKEY... 阅读全文
posted @ 2008-09-11 10:45
Jack Niu
阅读(739)评论(0)推荐(0)
编辑
摘要:
(Copy from internet) 'Good' means having qualities that are desirable and distinguishing. From a developer's perspective, these qualities are both technical as well as non-technical. Here are some qua... 阅读全文
posted @ 2008-08-06 16:10
Jack Niu
阅读(431)评论(0)推荐(0)
编辑