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

Ajax »ù´¡ (asp.net C#)


<script type="text/javascript">
        var xmlHttp;
        function createXMLHttpRequest()
        {
            if(window.ActiveXObject)
            {
                xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
            }
            else if(window.XMLHttpRequest)
            {
                xmlHttp = new XMLHttpRequest();
            }
        }
        function startRequest(n)
        {
      var send_string="id="+n;
    send_string= encodeURI(send_string)
            createXMLHttpRequest();
            xmlHttp.onreadystatechange = handleStateChange;
            xmlHttp.open("GET","ReadDate.asp",true);
           // xmlHttp.setRequestHeader("cache-control","no-cache");
            xmlHttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
            xmlHtt


Ïà¹ØÎĵµ£º

asp.netÕýÔò±í´ïʽ´óÈ«

Ö»ÄÜÊäÈëÊý×Ö£º"^[0-9]*$"¡£
Ö»ÄÜÊäÈënλµÄÊý×Ö£º"^\d{n}$"¡£
Ö»ÄÜÊäÈëÖÁÉÙnλµÄÊý×Ö£º"^\d{n,}$"¡£
Ö»ÄÜÊäÈëm~nλµÄÊý×Ö£º¡£"^\d{m,n}$"
Ö»ÄÜÊäÈëÁãºÍ·ÇÁ㿪ͷµÄÊý×Ö£º"^(0|[1-9][0-9]*)$"¡£
Ö»ÄÜÊäÈëÓÐÁ½Î»Ð¡ÊýµÄÕýʵÊý£º"^[0-9]+(.[0-9]{2})?$"¡£
Ö»ÄÜÊäÈëÓÐ1~3λСÊýµÄÕýʵÊý£º"^[0-9]+(.[0-9]{1,3})?$"¡£
Ö»ÄÜÊ ......

C#µ÷ÓÃSQL´æ´¢¹ý³ÌÒÔ¼°·µ»ØÖµºÍ²ÎÊýµÄ»ñÈ¡

QZone Editor
.dump{}

//TODO ÓòÃû
if (location.hash) {
document.domain=location.hash.substr(1);
}

//parent.qZEditor.callback();
function init(){
//»ñÈ¡±à¼­Æ÷Ãæ°åID
var pid = frameElement.panelID;

//»ñÈ¡±à¼­Æ÷Ãæ°å¶ÔÏó ......

C#ÓëSqliteÊý¾Ý¿â²Ù×÷ʵÀý

ÕâÊÇÒ»¸öÓйطÖÒ³µÄʵÀý,½ö¹©²Î¿¼(´úÂëÀ´×ÔÍøÂç)
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Data.SQLite;
using System.Threading;
using System.Collections;
us ......

cadÐĵÃÈý£º¹ØÓÚc#.netϵÄdatabaseÀàµÄ·½·¨ºÍÊôÐÔ

1. ͨ¹ý  get { return HostApplicationServices.WorkingDatabase; } µÃµ½µ±Ç°¹¤×÷Êý¾Ý¿â£¬¼´µ±Ç°Îĵµ±»×°ÈëCAD»·¾³ºóµÃµ½µÄËùÓж«Î÷¡£
2. ÊôÐԺͷ½·¨£º
¹¹Ô캯Êý£º
ÊôÐÔ£º
Attmode ÉèÖÃ
mode
ΪÊý¾Ý¿âµÄ
ATTMODE
Öµ£¬
ÊäÈëÐèÒªµÄ
ATTMODE
ϵͳ±äÁ¿Öµ£¨±ØÐëÔÚ·¶Î§
0-2
Ö®¼ä
Aunits ÊäÈëÐèÒªµÄ
AUNITS
......

C# params¹Ø¼ü×Ö

´úÂ룺
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ