Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

asp.net ÀûÓãףͣÉʵÏֹػúÖØÆô

ÎÒÕâÊÇÄÃÀ´±ðÈËÓõģ¬ÎªÁË·½±ãÒÔºó×Ô¼º¿´°É£¬¿´¶Ô´ó¼ÒÓаïæÂð
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
namespace AppBLL
{
public class ShutDown
{
[StructLayout(LayoutKind.Sequential, Pack = 1)]
internal struct ToKprivlLuid
{
public int Count;
public long Luid;
public int Attr;
}
[DllImport("kernel32.dll", ExactSpelling = true)]
internal static extern IntPtr GetCurrentProcess();
[DllImport("advapi32.dll", ExactSpelling = true, SetLastError = true)]
internal static extern bool OpenProcessToken(IntPtr h, int acc, ref IntPtr phtok);
[DllImport("advapi32.dll", SetLastError = true)]
internal static extern bool LookupPrivilegeValue(string host, string name, ref long pluid);
[DllImport("advapi32.dll", ExactSpelling = true, SetLastError = true)]
internal static extern bool
AdjustTokenPrivileges(IntPtr htok, bool disall, ref ToKprivlLuid newst, int len, IntPtr prev, IntPtr relen);
[DllImport("user32.dll", ExactSpelling = true, SetLastError = true)]
internal static extern bool ExitWindowsEx(int flg, int rea);
//C#¹Ø»ú´úÂë
// ÒÔ϶¨ÒåÁËÔÚµ÷ÓÃWinAPIʱÐèÒªµÄ³£Êý¡£
//ÕâЩ³£Êýͨ³£¿ÉÒÔ´ÓPlatform SDKµÄ°üº¬Îļþ£¨Í·Îļþ£©ÖÐÕÒµ½
internal const int SE_PRIVILEGE_ENABLED = 0x00000002;
internal const int TOKEN_QUERY = 0x00000008;
internal const int TOKEN_ADJUST_PRIVILEGES = 0x00000020;
internal const string SE_SHUTDOWN_NAME = "SeShutdownPrivilege";
internal const int EWX_LOGOFF = 0x00000000;
internal const int EWX_SHUTDOWN = 0x00000001;
internal const int EWX_REBOOT = 0x00000002;
internal const int EWX_FORCE = 0x00000004;
internal const int EWX_POWEROFF


Ïà¹ØÎĵµ£º

¸øasp.net ÍøÒ³Ìí¼Ó±êÌâ¡¢¹Ø¼ü×Ö¡¢ÃèÊö±¾ÎÄ

ÔÚÍøÒ³µÄ¿ª·¢ÖÐΪÁËËÑË÷ÒýÇæµÄÓÅ»¯£¬Ìí¼ÓÒ³ÃæµÄtitle
keyword descriptionÊÇ×î³£Óõķ½·¨Ö®Ò»¡£
asp.netµÄ·½·¨´úÂëÈçÏÂËùʾ£º
 
 
 
 
 
public void SEO_HEAD(string title, string keyword, string
description)
 
 
 
 
 
 
 
{
  ......

FckeditorÅäÖù¥ÂÔ asp.net°æ

ÍøÂçÎı¾±à¼­Æ÷----Fckeditor֮ʹÓÃÆª
1.ÏÂÔØFckeditor£¬asp.net°æ·ÖÁ½²¿·Ö£¬FCKeditorºÍFCKeditor.Net: ASP.Net Control¡£
¹Ù·½ÍøÕ¾£ºhttp://ckeditor.com/download
2.FckeditorÔÚÏîÄ¿Öеɡ£
  ºÜ¼òµ¥£¬²»ÔÙ׸Êö¡£
²Î¿¼ÎÄÏ×£ºhttp://www.cnblogs.com/zhubo/archive/2008/10/21/using_fckeditor_net.html
³£ ......

asp.net Ôö¼Ó²¥·Å¿Ø¼þ&²¥·ÅÊÓÆµÎļþ

asp.net Ôö¼Ó²¥·Å¿Ø¼þ&²¥·ÅÊÓÆµÎļþ2009-11-02 13:59/// <summary>//°ó¶¨ÊÓÆµ²¥·Å
    /// °ó¶¨ÊÓÆµ²¥·Å
    /// </summary>
    /// <param name="width">²¥·ÅÆ÷¿í¶È</param>
    /// <param name="height">²¥·ÅÆ÷¸ß¶ ......

asp.net¿Ø¼þ¿ª·¢£¨Ò»£© ÏÔʾ¿Ø¼þÄÚÈÝ

asp.net½Ì³Ì:asp.net¿Ø¼þ¿ª·¢£¨Ò»£©-ÏÔʾ¿Ø¼þÄÚÈÝ
asp.net¿Ø¼þµÄÏÔʾ×ÔÈ»»áÀë²»¿ªÊä³öHTML¡¢CSS¡¢JavascriptµÈǰ̨µÄÏÔʾÄÚÈÝ£¬ËùÒÔ¿ª·¢Ò»¸ö¿Ø¼þµÄʱºòµÚÒ»¼þʾÍÊÇÒªÖªµÀÈçºÎÊä³ö¿Í»§¶ËÒªÏÔʾµÄÄÚÈÝ¡£
¡¡¡¡Ò»¡¢Ñ¡Ôñ»ùÀà
¡¡¡¡asp.netÖÐËùÓеıê×¼¿Ø¼þ¶¼¿ÉÒÔÄùýÀ´×÷Ϊ»ùÀ࣬Èç¹ûÎÒÃÇÒª¿ª·¢µÄ¿Ø¼þÖ»ÊǶÔÔ­Óеıê×¼¿Ø¼þ×öÒ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ