2005年10月28日

摘要: C#和VB.net的语法相差还是比较大的. 可能你会C#,可能你会VB. 将它们俩放在一起对比一下你就会很快读懂,并掌握另一门语言. 相信下面这张图会对你帮助很大. Comments VB.NET 'Single line only Rem Single line only C#// Single line /* Multiple line */ /// XML co... 阅读全文

posted @ 2005-10-28 12:32 中国风 阅读(115) 评论(0) 推荐(0) 编辑

摘要: 1、DateTime 数字型 System.DateTime currentTime=new System.DateTime(); 1.1 取当前年月日时分秒 currentTime=System.DateTime.Now; 1.2 取当前年 int 年=currentTime.Year; 1.3 取当前月 int 月=currentTime.Month; 1.4 取当前日 int 日=curre... 阅读全文

posted @ 2005-10-28 12:30 中国风 阅读(141) 评论(0) 推荐(0) 编辑

摘要: aspx页面中,<%= %> 与 <%# %> 的区别 关于这个问题,在多数的ASP.NET的教材中,都提到了一些。<%= %>与<%# %>的区别在于:绑定时机不同,<%# %>是在控件调用DataBind函数的时候才被确定。对于<%= %>,我想你应该不会陌生,在ASP时代,它就相当于 Response.Write。在AS... 阅读全文

posted @ 2005-10-28 12:22 中国风 阅读(683) 评论(1) 推荐(0) 编辑


Copyright © 2024 中国风
Powered by .NET 8.0 on Kubernetes