使用VS2008自带的ReportView开发了报表,本地正常,发布到服务器后提示找不到dll,google后解决问题。并学会了从GAC里面拿出dll的方法。
Microsoft.ReportViewer.Common.dll
Microsoft.ReportViewer.ProcessingObjectModel.dll
Microsoft.ReportViewer.WebForms.dll
放到发布程序的bin目录下,这个针对Web程序,还有一个Microsoft.ReportViewer.WinForms.dll可能是Winforms程序用的。
Dos下,cd C:\WINDOWS\assembly\GAC_MSIL进入后,下面的各个目录名是dll的名字命名。进入你想要的目录,再下面是版本,进入你想要的版本的目录,copy出来就OK了。
public class WrongProperty
{
private string _RequestType;
public enum ActionType
{
CreateSO,
ApproveSO,
PostToShipSO,
VoidSO
}
阅读全文>>
http://www.ajaxpro.info/ (官方网站)
新项目抛弃ASP.NET Ajax而使用AjaxPro,以前没有接触过,所以做了一个最简单的Demo。
以上网站上下载最新版本,目前为7.7.31.1,如果是.net 2.0就一个Dll就够了,就是AjaxPro.2.dll。
1、修改Web.config。在<system.web>元素中添加以下代码。
<httpHandlers>
<!-- Register the ajax handler -->
<add verb="POST,GET" path="ajaxpro/*.ashx" type="AjaxPro.AjaxHandlerFactory,AjaxPro.2"/> </httpHandlers>
阅读全文>>
Good question. There are historical reasons for this limitation. In what we sometimes refer to as the "Western world," there have been two calendars in modern times: the Julian and Gregorian calendars. These calendars were a number of days apart (depending on which century you looked at), so when a culture that used the Julian calendar moved to the Gregorian calendar, it removed from 10 to 13 days. Great Britain made this shift in 1752. (So, in that year, September 2, 1752 was followed by September 14, 1752.)
An educated guess as to why Sybase SQL Server—the predecessor of Microsoft SQL Server—selected 1753 as the earliest date is that if you were to store a date earlier than 1753, you would also have to know which country was using which calendar and also handle this 10- to 13-day jump. So Sybase decided to not allow dates earlier than 1753. Note, too, that other countries made the shift later than 1752. Turkey, for instance, did it in 1927.
Being Swedish, I find it amusing that Sweden had the weirdest implementation. Sweden originally planned to skip every February 29, leap day, over a period of 40 years (from 1700 to 1740) so that Sweden would be in sync with the Gregorian calendar after 1740 (but meanwhile not in sync with anyone else). However, in 1704 and 1708 the leap day wasn't skipped for some reason, so in 1712 (which was a leap year), Sweden inserted yet one more extra day (imagine being born in Feb 30!) and then made the shift over a day, in 1753, in a similar manner to everyone else.
以上是我认为最好的博客解决方案,35blog使用Wordpress,功能比较强大。支持OpenId、绑定顶级域名和离线发布等很多很好很实用的功能。配合Windows Live Writer,写博客真是一件非常愉快的事情。这样的服务即使收费也可以考虑,何况是免费,所以强烈推荐!
另外Windows Live Writer的确好用,对Wordpress的支持又非常好,赞一个.