易截截图软件、单文件、免安装、纯绿色、仅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


相关文档:

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#.net程序中使用MYSQL数据库

下面是commond:
MySQLCommand cmd;
cmd = new MySQLDriverCS.MySQLCommand("DROP TABLE IF EXISTS test.mysqldrivercs_test",conn);
cmd.ExecuteNonQuery();
cmd.Dispose();
下面是insert:
string Value = "Value";
int SettingID = 1;
new MySQLInsertCommand(conn,
new object[,] {{"SettingID",SettingID},{"S ......

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 ......

C# params关键字

代码:
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        ......

C#取得域名以及目录地址的方法

using System;
using System.Collections.Generic;
using System.Text;
using System.Web;
namespace SinvanCMS.Common
{
    /// <summary>
    /// 全局类,当前域名,物理路径
    /// </summary>
    public class Application
&nb ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号