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

ASP.NET ´Óxml¶Á³öÊý¾ÝʱµÄ·ÖÒ³·½·¨

public string GetPage(int page, int pages, string url)
        {
            if (pages == 0)
            {
                pages = 1;
            }
            string sb0 = "";
            int n1 = 0, n2 = 0;
            n1 = page - 5 <= 0 ? 1 : page - 5;
            n2 = page + 5 > pages ? pages : page + 5;
            if (n2 <= 9)
                n2 = 10;
            if (n2 > pages)
                n2 = pages;
            if (n2 - n1 < 9)
                n1 = n2 - 9 < 1 ? 1 : n2 - 9;
            sb0 += "¡¡<a href=\"" + url + 1 + ".html\">Ê×Ò³</a>¡¡";
            sb0 += "<a href=\"" + url + (page - 1 <= 0 ? 1 : page - 1)
                + ".html\">ÉÏÒ»Ò³</a>¡¡";
            //ÅжÏÊÇ·ñÊǵ±Ç°Ò³
            for (; n1 <= n2; n1++)
  &


Ïà¹ØÎĵµ£º

asp.net ¶à×Ö¶ÎÄ£ºý²éѯ´úÂë

¾­³£Óõ½¶à×ֶεÄÄ£ºý²éѯ£¬ÉÏÃæµÄº¯Êý¿ÉÒÔʵÏÖ£¬ÀýÈçstrKeyWordsֵΪ“½Å±¾Ö®¼Ò”ʱ
string strField = "id|className|classAdd";
string strKeyWords = this.tbxKeyWords.Text.Trim();
string strSql = dbexe.searchText("select * from class", strField, strKeyWords);
¾­³£Óõ½¶à×ֶεÄÄ£ºý²éѯ£¬ÉÏà ......

asp.net·µ»Ø¼òµ¥Êý×é

Imports System.Web
Imports System.Web.Services
Imports System.Web.Services.Protocols
'ÈôÒªÔÊÐíʹÓà ASP.NET AJAX ´Ó½Å±¾Öе÷ÓÃ´Ë Web ·þÎñ£¬ÇëÈ¡Ïû¶ÔÏÂÐеÄ×¢ÊÍ¡£
<System.Web.Script.Services.ScriptService()> _
<WebService(Namespace:="http://tempuri.org/")> _
<WebServiceBinding(Confor ......

Xml Schema

Standards
"DTD" was the first formalized standard, but is rarely used anymore.
"XDR" was an early attempt by Microsoft to provide a more comprehensive standard than DTD. This standard has pretty much been abandoned now in favor of XSD.
"XSD" is currently the de facto standard for describing XML d ......

asp.net ½ØÈ¡×Ö·û´®´úÂë

asp.net×Ö·û´®½ØÈ¡ÊµÏÖ´úÂ룬ÐèÒªµÄÅóÓÑ¿ÉÒԲο¼Ï¡£
1£¬°Ñ´úÂë·ÅÔÚsqlhelperÖС£
¸´ÖÆ´úÂë ´úÂëÈçÏÂ:
#region ½ØÈ¡×Ö·û´®
/// <summary>
/// ½ØÈ¡×Ö·û´®
/// </summary>
/// <param name="str_value"></param>
/// <param name="str_len"></param>
/// <returns&g ......

asp.net Web.config ÏêϸÅäÖÃ˵Ã÷

asp.net¿ª·¢µÄÅóÓÑ£¬¾­³£Óõõ½web.configÎļþµÄÅäÖã¬ËùÒÔÎÒÃÇÌØÕûÀíÁËÖÐÎÄ˵Ã÷¡£
<?xml version="1.0" standalone="yes"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<!--ÅäÖÃÈ«¾Ö±äÁ¿-->
<appSettings>
<add key="examstr" value="server=.;da ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ