跃's profileLove u,lzwPhotosBlogListsMore Tools Help

Blog


    January 08

    编程小记

    用来做备忘录的.

            做数据库课程设计时为那个时间问题头疼了一通,特地写了一个函数来把数据库中的时间格式中的年月日提取出来,昨天才发现可以用一个时间类的方法直接搞定,郁闷DateTime.ToLongDateString();

            下面是看MSDN的讲座的时候发现的
    Page的生命周期
      Init                   当服务器控件初始化时发生;初始化是控件生存期的第一步。 (从 Control 继承) 
      InitComplete          在页初始化完成时发生。 
      Load                   当服务器控件加载到 Page 对象中时发生。 (从 Control 继承) 
      LoadComplete          在页生命周期的加载阶段结束时发生。 
      PreInit                  在页初始化开始时发生。 
      PreLoad                  在页 Load 事件之前发生。 
      PreRender              在加载 Control 对象之后、呈现之前发生。 (从 Control 继承) 
      PreRenderComplete      在呈现页内容之前发生。 
      SaveStateComplete      在页已完成对页和页上控件的所有视图状态和控件状态信息的保存后发生。 
      Unload                   当服务器控件从内存中卸载时发生。 (从 Control 继承)

            在博客堂看Blog时发现关于Webform和MVC孰优孰劣的争论,看了一通也没有什么感想,我估计是都要学了,现在ASP.NET2.0就是Webform,而ROR又是MVC架构,不过还是那样,一法通则万法通,搞精一样,其他的也就差不多了.
    发现博客堂还是一个好地方,新技术展望,学习笔记,等等.都可以找得到

    Comments

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    Trackbacks

    The trackback URL for this entry is:
    http://myice225.spaces.live.com/blog/cns!33109B727E3AC9C3!301.trak
    Weblogs that reference this entry
    • None