摘要:
很多类都重写了ToString方法, 导致很多类的tostring到底执行了什么,有哪些参数,都不清楚。。。。很郁闷!对于int,double等的tostring:C货币2.5.ToString("C")¥2.50 D十进制数25.ToString("D5")00025E科学型25000.ToString("E")2.500000E+005F固定点25.ToString("F2")25.00G常规... 阅读全文
摘要:
错误信息:验证视图MAC失败。如果此引用程序由网络场或群集承载,请确保<machineKey>配置指定了相同的 validationKey 和验证算法。不能在群集中使用 AutoGenerateP> 原因:表格,指定了DataKeyNames属性,则出于安全的理由(因为DataKeyNames指定的字段代表数据的主键,且该主键值需要保存在视图状态中发送到客户端,用户如果篡改... 阅读全文
摘要:
The MapPath method maps the specified relative or virtual path to the corresponding physical directory on the server.Parameters (MSDN:ms-help://MS.MSDNQTR.2003FEB.2052/iisref/htm/ref_vbom_serommp.htm)... 阅读全文