javascript ½Å±¾Äܵ÷ÓÃC#ºǫ́´úÂëô£¿ÈçºÎµ÷Óã¿
ÎÒÔÚѧϰÖУ¬Åöµ½ÎÊÌ⣬ÔÚ´¦ÀíµÄʱºòÏ£ÍûÓýű¾´úÂëÈ¥µ÷ÓÃC#ºǫ́´úÂë¡£Ôõô°ì£¿
ajaxÒì²½µ÷ÓÃßÂ
ajax£¬
webservice
ºǫ́·½·¨£º
protected string CsharpVoid(string strCC)
{
strCC = "ÄãºÃ£¡" + strCC;
return strCC;
}
ǰ̨JS:
function Init()
{
var v = "Öйú";
var s = ' <%=CsharpVoid("'+v+'") %>';
alert(s);
}
LZ˵µÄÒ»°ãÓ¦¸ÃÊÇÐèÒªÒì²½´¦Àí°É£¬Ñ§Ï°Ñ§Ï°ajax
Ç¿£¡
ÄÜʵÏÖÂð£¿ÎÒ
Ïà¹ØÎÊ´ð£º
£¨1£©string ConnString = "server=localhost;integrated security=sspi;database=pubs;";
£¨2£©string strConnection="user uid=sa;pwd=123456;Database=test;Server=test;Connect ......
delphiÖÐÈçºÎµ÷ÓÃC#дµÄdllÖеÄÀà,
»¹ÊǰѴúÂëÌù³öÀ´°É
¿ÉÒÔµ÷Óñê×¼dll£¬c#ÀàÐ͵Ädll²»ÐÐ
ÕâÊÇC#дµÄdll
using System;
using System.Collections.Generic;
using System.Linq;
using System.Te ......
ÕâÊÇC#дµÄdll
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Dlltest
{
public class DllClass
& ......
ÕâÊÇC#дµÄdll
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Dlltest
{
public class DllClass
& ......
ÇëÎÊÔÚ¶Ô»°¿òÀïÄÚǶä¯ÀÀÆ÷¿Ø¼þ£¬´ïµ½¸úÍøÒ³½»»¥
Ïëͨ¹ýJavaScriptµ÷ÓÃC++º¯Êý ÐèÒªÍê³É Äö²½Ö裿
Çë°´²½Öè˵Ã÷¡£
C++½«º¯Êý·Åµ½ÄÄÀï ¹© JavaScript ²éѯ²¢µ÷ÓÃÄØ£¿
ËäÈ»Óд ......