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

jquery ÖÐʵÏÖ ajax - .NET¼¼Êõ / ASP.NET

¸÷λ´óÏÀ£¬°ï°ïæ¡£±¾È˶ÔjqueryÊÇÒ»Çϲ»Í¨¡£µ«ÊÇÓиö¹¦ÄܱØÐëÒªÓõ½¡£ÏÖÔÚѧΪʱÒÑÍí¡£Ö»ºÃ»­Æ°ÁË¡£»­µ½ÕâÀï»­²»ÏÂÈ¥ÁË¡£´ó¼Ò°ï°ï棻
´ó¸ÅÊÇÕâÑùµÄ¡£ÎÒÓÐÒ»¸öºÍÅжÏÓû§´æÔÚÒ»ÃþÒ»ÑùµÄ¹¦ÄÜ¡£Ö»ÊÇÎÒÓÐÒ»¸ö²ã¡£Èç¹ûÓû§´æÔڲ㲻ÏÔʾ¡£Óû§²»´æÔÚ²ãÏÔʾ£¬ÆäËûÒѾ­×öºÃÁË¡£ÏÖÔھͲîÎÒÔõÑùÓÃifÅжϲãµÄÏÔʾºÍÒþ²ØÁË¡£ ´ÓÎÒÔõÑù¶¨ÒåÒ»¸ö±äÁ¿½ÓÊÕºǫ́´«¹ýÀ´µÄÖµ¡£ºǫ́ÊÇÕâÑùµÄ¡£
  string userName = Request.QueryString["userName"].ToString();
  AccountsInfo acc= AccountsInfoManager.getAccountsInfoByeRegAccounts(userName);
//ÓöÔÏó½ÓÊÕµÄ.
ÎÒ´òjqueryÕâÑùÓñäÁ¿½ÓÊÕ.ÎÒÕæµÄ²»¶®.¼±ÒªÓÃ.ÖªµÀµÄ°ï°ïæ.ллÁË.
ÏÂÃæµÄjqueryÖеĴúÂë
 $.ajax({
  type:"GET",
  url:"Default2.aspx",
  dataType:"html",
  data:"userName="+$("#txtName").val()});
ºǫ́
C# code:

if(acc != null) //¸ù¾ÝÄã×Ô¼ºµÄÅжÏÒÀ¾ÝÐÞ¸Ä
{
Response.Write("true");
}
else
{
Response.Write("false");
}



ǰ̨
JScript code:

$.ajax({
type : "post",
url : "Default.aspx",
data : "userName="+$("#txtName").val(),


Ïà¹ØÎÊ´ð£º

¹ØÓÚAJAXºÍJSPµÄһЩСÎÊÌâ¡« - Java / Web ¿ª·¢

ÎÒJSPµÄÒ³ÃæÊÇ£º
<%@ page language="java" contentType="text/html; charset=gb2312"
  %>
<script>
function Save(){
xmlHttp=GetXmlHttpObject()
if(xmlHttp==nul ......

asp.net³ÌÐòÔ±ÇóÖ° - .NET¼¼Êõ / ·Ç¼¼ÊõÇø

±¾È˹¤×÷¾­ÑéÒ»ÄêÒÔÉÏ
ÊìϤasp.net
ÊìϤjavascript
ÊìϤCss
ÊìϤajax
ÊìϤsqlserver2005
ÓÐÒ»ÄêµÄÏîÄ¿¾­Ñé
¾ßÌåÏîÄ¿ºÍÆäËûµÄ¾Í²»ÔÚÕâдÁË
ÓÐÒâÕßÁªÏµ£º
QQ:359233910
ÒýÓÃ
±¾È˹¤×÷¾­ÑéÒ»ÄêÒÔÉÏ
ÊìϤasp ......

asp.net ÏÂÔØ - .NET¼¼Êõ / ASP.NET

sqlserverµÄÊý¾Ý¿â£¬×Ö¶ÎÊÇimageÀàÐ͵ġ£Ôõôд´úÂ룬ÔÚÒ³ÃæÖеã»÷¡°ÏÂÔØ¡±¾ÍÄÜ´ò¿ªÄǸöÏÂÔضԻ°¿ò£¿
PS£ºOracleLob ÔÚsqlserverÀïÊÇʲô£¿
Response.Redirect("test.jpg")

ÒýÓÃ
Response.Redirect( ......

¹ØÓÚSqlµÄÎÊÌâ - .NET¼¼Êõ / ASP.NET

½«Ò»¸ö²éѯÓï¾ä¸³¸øÒ»¸ö±äÁ¿£¬ÈçÏ£º
DECLARE @STR NVARCHAR(MAX)
SET @STR='SELECT * from SALE_PROD'
ÔõôÑù²ÅÄÜÖ´ÐÐËüÄØ£¿
Çë¸ßÊÖ£¬ÈÊÐÖ£¬ÏÀ½ã°ï°ïæ°¡


¶àл£¬¿ÉÒÔÀ²£¬¸ßÊÖ°¡

Ö±½ÓÖ´ÐоÍÐÐÁË

exec ......

¹ØÓÚasp.net md5 32λ¼ÓÃܽâÃÜ - .NET¼¼Êõ / ASP.NET

¹ØÓÚasp.net md5 32λ¼ÓÃܽâÃÜ
ÓÐûÓÐÈË¿ÉÒÔд¸öÀà¡£
²¢Ïêϸ½âÊÍһϣ¬±¾È˺ܲ»Àí½â32λmd5
C# code:

public string md5(string str,int code)
2{
3 if(code==16) //16λMD5¼ÓÃÜ£¨È¡32λ¼ÓÃܵÄ9~25× ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ