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

ASP.NET´´½¨¿ì½Ý·½Ê½

  using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class CreateShortcut : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
/// <summary>
/// ´´½¨¿ì½Ý·½Ê½
/// </summary>
/// <param name="Title">±êÌâ</param>
/// <param name="URL">URLµØÖ·</param>
private void CreateShortcut(string Title, string URL)
{
string strFavoriteFolder;
// “ÊղؼДÖÐ ´´½¨ IE ¿ì½Ý·½Ê½
strFavoriteFolder = System.Environment.GetFolderPath(Environment.SpecialFolder.Favorites);
CreateShortcutFile(Title, URL, strFavoriteFolder);
// “ ×ÀÃæ ”ÖÐ ´´½¨ IE ¿ì½Ý·½Ê½
strFavoriteFolder = System.Environment.GetFolderPath(Environment.SpecialFolder.Desktop);
CreateShortcutFile(Title, URL, strFavoriteFolder);
// “ Á´½Ó ”ÖÐ ´´½¨ IE ¿ì½Ý·½Ê½
strFavoriteFolder = System.Environment.GetFolderPath(Environment.SpecialFolder.Favorites) + "\\Á´½Ó";
CreateShortcutFile(Title, URL, strFavoriteFolder);
//¡¸¿ªÊ¼¡¹²Ëµ¥ÖÐ ´´½¨ IE ¿ì½Ý·½Ê½
strFavoriteFolder = System.Environment.GetFolderPath(Environment.SpecialFolder.StartMenu);
CreateShortcutFile(Title, URL, strFavoriteFolder);
}
/// <summary>
/// ´´½¨¿ì½Ý·½Ê½
/// </summary>
/// <param name="Title">±êÌâ</param>
/// <param name="URL">URLµØÖ·</param>
/// <param name="SpecialFolder">ÌØÊâÎļþ¼Ð</param>
private void CreateShortcutFile(string Title, string URL, string SpecialFolder)
{
// Create shortcut file, based on Title
System.IO.StreamWriter objWriter = System.IO.File.C


Ïà¹ØÎĵµ£º

js C# ASP.Net ÕýÔòÈ¥µô³¬Á´½Ó(Ö»ÊÇ ºÍ )

//Ìæ»»ËùÓÐ
Regex reg = new Regex(@"(?is)</?a\b[^>]*>(?:(?!</?a).)*</a>");
string result = reg.Replace(yourStr, "");
//±£Áôwww.abc.comÁ´½Ó
Regex reg = new Regex(@"(?is)</?a\b.*?href=(['""]?)(?!(?:http://)?www\.abc\.com)[^'""\s>]+\1[^>]*>(?<text>(?:(?!</?a).) ......

ASP.NETÅäÖÃÎļþWeb.config

ÈÏʶASP.NETÅäÖÃÎļþWeb.config
¡¡Ò»¡¢ÈÏʶWeb.configÎļþ
Web.configÎļþÊÇÒ»¸öXMLÎı¾Îļþ£¬ËüÓÃÀ´´¢´æ ASP.NET Web Ó¦ÓóÌÐòµÄÅäÖÃÐÅÏ¢£¨Èç×î³£ÓõÄÉèÖÃASP.NET Web Ó¦ÓóÌÐòµÄÉí·ÝÑéÖ¤·½Ê½£©£¬Ëü¿ÉÒÔ³öÏÖÔÚÓ¦ÓóÌÐòµÄÿһ¸öĿ¼ÖС£µ±Äãͨ¹ýVB.NETн¨Ò»¸öWebÓ¦ÓóÌÐòºó£¬Ä¬ÈÏÇé¿öÏ»áÔÚ¸ùĿ¼×Ô¶¯´´½¨Ò»¸öĬÈϵÄ
W ......

¶ÔÁª¹ã¸æ²»¹ö¶¯µÄÎÊÌâ asp.net Ò³Ãæ

¶ÔÁª¹ã¸æ²»¹ö¶¯µÄÎÊÌâ asp.net Ò³Ãæ
2008Äê06ÔÂ11ÈÕ ÐÇÆÚÈý 11:01
ÔÚÒ³ÃæÉϼÓÁ˶ÔÁª¹ã¸æºó·¢ÏÖ²»¹ö¶¯£¬ÕÒÁËN¾Ã²Å·¢ÏÖÊÇ<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">Õâ¾äµ¼Ö²»¹ö¶¯µÄ£¬¿ÉÊÇÈç¹ûÈ¥µôµÄ»°¶ÔÓÚÓÃDIV+CSS¿ª·¢µÄÍøÕ¾À´ËµÓÖÊÇÔÖÄÑÒªÁíÍâÕÒ½â ......

Ïê½âAsp.net MVC DropDownLists

   Asp.net MVCÖеÄDropDownListsòËÆ»áÈÃÒ»¿ªÊ¼´ÓAsp.net Formsת¹ýÀ´µÄ³ÌÐòÔ±Ôì³É²»ÉÙÃÔ»ó.ÕâƪÎÄÕ½²ÊöÁËΪÁËʹÓÃDropDownLists,ÄãÐèÒªÔÚAsp.Net MVCÖÐÖªµÀµÄ·½·½ÃæÃæ.
   DropDownList,ComboBox,ÎÞÂÛÄãϲ»¶Ôõô³ÆºôÕâЩ£¬ËûÃǺÁÎÞÀýÍâµÄ»á±»Éú³ÉΪhtml select±êÇ©. ÔÚ<select>¿ª±êÇ©ºÍ</ ......

vs ¿ª·¢ asp.net¹ý³ÌÖÐ ÒýÓà jsÎļþ³ö´íµÄ½â¾ö°ì·¨


ÔÚ.netÖÐͨ¹ýÕâÖÖ·½Ê½ÒýÓÃjsÎļþ
<script type="text/javascript" src="setday0.js"></script>
È»ºóÔÚÒ³ÃæÖе÷ÓÃsetday0.jsÎļþÖеķ½·¨ÍùÍù»á³ö´í£¡µ«ÊÇÄãÈç¹û°Ñsetday0.jsÎļþµÄÄÚÈÝÖ±½Ó·Åµ½¸ÃÒ³ÃæÖÐÀ´ÓÖÒ»µãÎÊÌâҲûÓС£Õâ¸öÎÊÌâÀ§»óÁËÎҺܾã¬ÔÚ1.1µÄʱºò¾ÍÓöµ½Á˵±Ê±Ã»°ì·¨¾ÍÔÚÒ³ÃæÖÐÖØдjs´úÂë¡£½ñÌ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ