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

asp.net׼ȷ½ØÈ¡Îı¾³¤¶È(È¡µÃ±êÌâµÄ×Ö·ûÊý)

asp.netÖÐ×Ô´øµÄCutStringÖ»ÄܽØÈ¡×Ö·ûÊýÁ¿µÄ³¤¶È,µ«ÖÐÓ¢ÎÄ×Ö·ûÊýÓвîÒì,Ò»¸öÖÐÎÄ×ÖµÈͬÓÚ¶þ¸öÓ¢ÎÄ×Ö·ûµÄ¿í¶È,ÕâÑù¶Ô½ØÈ¡ºóµÄЧ¹û²»ÀíÏë.ʹÓÃÒÔÏµķ½·¨¾ÍÄܽâ¾ö.
//µ÷Ó÷½·¨
string title=BLL.CutStr.CutString("±êÌâ",10);using System;
using System.Collections.Generic;
using System.Text;
namespace BLL
{
    public  class CutStr
    {
        public static string  CutString(string str, int length)
        {
            if (str == "" )
            {
                str = "ûÓÐÐÅÏ¢";
            }
            else
            {
                int i = 0, j = 0;
                foreach (char chr in str)
                {
                    if ((int)chr > 127)
                    {
                        i += 2;
                    }
                    else
      &nbs


Ïà¹ØÎĵµ£º

Asp.netͼƬ¹ö¶¯


<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ͼƬ»¬¶¯.aspx.cs" Inherits="ASP.net.ͼƬ»¬¶¯" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    ......

google suggest ÏÂÀ­²Ëµ¥(asp.net/jQuery°æ±¾)

suggest.jsÎļþ£¨ÔÚÒýÈësuggest.jsÎļþǰÐèÒªÏÈÒýÈëjquery-1.4.2.min.js£©£º
 $(function() {
var k = -1;
//¸ø²éѯÎı¾¿ò°ó¶¨click keyupʼþ£¬½øÐÐÕâÁ½¸öʼþ£¬×Ô¶¯²éѯÊý¾Ý
$("#FrmChangshang").bind('click keyup', function(event) {
//»ñÈ¡¼üÅ̲Ù×÷ʼþ´úÂë
var keyc = event ......

ASP.NET³£ÓÃÓï¾ä1 20Ìõ ·Ç³£ÊµÓÃ

1.//µ¯³ö¶Ô»°¿ò.µã»÷תÏòÖ¸¶¨Ò³Ãæ
Response.Write(&quot; <script>window.alert('¸Ã»áԱûÓÐÌá½»ÉêÇë,ÇëÖØÐÂÌá½»£¡')
</script>&quot;);
Response.Write(&quot; <script>window.location
='http://www.51aspx.com/bizpulic/upmeb.aspx' </script>&quot;);
2.//µ¯³ö¶Ô»°¿ ......

ASP.net 4.0 Õë¶ÔSEOµÄ¸Ä½ø

ËÑË÷ÒýÇæÓÅ»¯¶ÔÈκÎÃæÏò¹«ÖÚµÄÍøÕ¾À´Ëµ¶¼·Ç³£ÖØÒª£¬ASP.net 4.0 Ϊ´Ë¾Í×öÁË´óÁ¿¸ÄÔì¡£ÕâЩ¸Ä½ø°üÀ¨ÈçÏ£º
301
ÓÀ¾ÃÐÔÖØ¶¨Ïò
Ëæ×Åʱ¼äµÄÇ¨ÒÆ£¬ÍøÕ¾µÄÒ»Ð©Ò³ÃæµØÖ·»á·¢Éú±ä»¯£¬Õâ»áµ¼ÖÂËÑË÷ÒýÇæÊÕ¼µÄÁ´½ÓµØÖ·¡¢Óû§ÊղصĵØÖ·Ê§
Ч¡£Response.Redirect() ¾ÍÊǽâ¾öÕâ¸öÎÊÌâµÄ¡£µ«ÊÇResponse.Redirect ÓÐÒÔÏÂÎÊÌ⣺
Respo ......

Online active users counter in ASP.NET


Online active users counter in ASP.NET
With this tool which is written for ASP.NET, it is possible to count the number of online users, members and guest users in web sites.
Installation
The tool installation is very simple and only takes a few minutes.
Step one - Add Reference:
After downlo ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ