摘要:
/****************************** Module Header ******************************\* Module Name: Default.aspx.cs* Project: CSASPNETStripHtmlCode* Copyright (c) Microsoft Corporation** This page retrieve the entire html code from SourcePage.aspx.* User can strip or parse many parts of html code, such as p 阅读全文
摘要:
本文根据 http://tutorialzine.com/2010/01/sticky-notes-ajax-php-jquery/编写,并增加了删除功能演示: http://demo.tutorialzine.com/2010/01/sticky-notes-ajax-php-jquery/demo.php主要代码是1)建立标签内容 string sql = " SELECT * FROM worklog_notes where username='"+User.Identity.Name+"' ORDER BY id DESC "; 阅读全文
摘要:
using System;using System.Collections.Generic;public static class EnumHelper{ public static int GetNumberByEnumTEnum(TEnum e) { return Convert.ToInt32(Enum.Parse(typeof(TEnum), e.ToString())); } public static TEnum GetEnumbyNumberTEnum(string number) { return (TEnum)Enum.Parse(typeof(TEnum), num 阅读全文