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

´¦ÀíÓзµ»ØÖµµÄºÍreturnµÄasp.netд·¨

 SqlConnection   conPortal   =   new   SqlConnection(CommunityGlobals.ConnectionString);  
                          SqlCommand   cmdAdd   =   new   SqlCommand(   "Community_DiscussAddPost",   conPortal);  
                          cmdAdd.CommandType   =   CommandType.StoredProcedure;  
                           
                          cmdAdd.Parameters.Add("@RETURN_VALUE",   SqlDbType.Int).Direction   =   ParameterDirection.ReturnValue;   //´¦ÀíreturnµÄ·µ»ØÖµ
                          cmdAdd.parameters.Add("@outputvalue",sqlDbType.Int);
                          cmdAdd.Parameters[].Direction=parameterDirectionOutput;
                            /**ÉÏÃæÁ½¾äµÈͬÓÚcmdAdd.Parameters.Add("@outputvalue",sqlDbType.Int).Direction=ParameterDirectionOutput;
      **/
                    cmdAdd.Parameters.Add("@communityID",   CommunityGlobals.CommunityID);  
                          cmdAdd.Parameters.Add("@sectionID",   sectionID);  
                 


Ïà¹ØÎĵµ£º

javascriptµ÷ÓÃasp.netºǫ́µÄ¼¸ÖÖ·½·¨

1. javaScriptº¯ÊýÖÐÖ´ÐÐC#´úÂëÖеĺ¯Êý£º
·½·¨Ò»£º1¡¢Ê×ÏȽ¨Á¢Ò»¸ö°´Å¥£¬ÔÚºǫ́½«µ÷Óûò´¦ÀíµÄÄÚÈÝдÈëbutton_clickÖÐ;
        2¡¢ÔÚǰ̨дһ¸öjsº¯Êý£¬ÄÚÈÝΪdocument.getElementById("btn1").click();
        3¡¢ÔÚǰ̨»òºǫ́µ÷ÓÃjsº¯Êý£¬¼¤·¢clickʼþ£¬µÈÓÚ·ÃÎʺǫ́c ......

asp.netÒ³ÃæÊ¼þÖ´Ðйý³Ì

×î½ü¸ãÓû§Ñé֤ʱ£¬³öÁ˸öÎÊÌ⣬²éÔÄ×ÊÁϽâ¾öºó£¬ÕûÀíÁËһϡ£µÚһƪblog
Ö÷Òª¾ÍÊǸ¸ÀàºÍ×ÓÀà¼äOnLoad,OnInit,Load ʼþ£¬InitʼþµÄÖ´ÐÐÏȺóÎÊÌâ¡£
Ò»¸öÒ³Ãæ£¨×ÓÀࣩµÄOninit·½·¨×îÏÈÆô¶¯Ö´ÐУ¬¶øºóµÝ¹éÖ´Ðи¸ÀàÖÐOninit·½·¨£¬¸¸ÀàOninit·½·¨ÖÐÌí¼ÓInitʼþ£¬Ö´ÐÐPage_Init·½·¨£¬ºóÔÙ·µ»Ø¸¸ÀàOninit·½·¨Ö´ÐÐÍê±Ï£¬×îºó·µ ......

ASP.NETÖеÄAJAXÓ¦Óÿª·¢×ܽá

        11ÔÂ21ÈÕÍí£·µãÓ¦ÑûÔÚÎ人´óѧÐÅϢѧԺ×öÁËÒ»³¡¹ØÓÚASP.NETÏÂAJAX¿ª·¢µÄ±¨¸æ£¬ÒÔÎÒ×Ô¼º¾­Àú½²ÊöÁËÒ»Ð©ÌØÊâÓ¦ÓÃÔÚ¹ýÈ¥µ½ÏÖÔÚʵÏÖÊֶεı仯£¬±¾À´Ïë»Ø¼ÒÖ®ºó×ö¸ö×ܽáµÄ£¬µ«ÊÇÓÉÓÚ×î½üÒÔÀ´ÊÂÇéÒ»Ö±ºÜ¶à£¬ËùÒÔûÓÐÀ´µÃ¼°×ܽᡣ½ñÍíµÃÒÔÓпÕ×ܽáһϡ£
AJAX½éÉÜ
ÆäʵAJAXÓ¦ÓÃµÄºË ......

¡¾ASP.NETרÌâ¡¿(1)——ASP.NET MVC³õ̽

ASP.NET MVC FrameworkÊÇ΢Èí¹Ù·½ÌṩµÄMVCģʽ±àдASP.NET WebÓ¦ÓóÌÐòµÄÒ»¸ö¿ò¼Ü.ÒÑÓÚ2009Äê3ÔÂ19ÈÕÕýʽ·¢²¼. MVC(Model-View-Controller)ÓÃÓÚ±íʾһÖÖÈí¼þ¼Ü¹¹Ä£Ê½.Ëü°ÑÈí¼þϵͳ·ÖΪÈý¸ö»ù±¾²¿·Ö:Ä£ÐÍ(Model),ÊÓͼ(View)ºÍ¿ØÖÆÆ÷(Controller). ¼ÈÈ»ÊÇÒ»¸öÓÅÐãµÄ¿ò¼Ü£¬ÄÇô¾ÍÖµµÃȥѧϰһ°Ñ£¬ÍøÉÏËÑË÷ÁËÐí¶à×ÊÁÏ£¬Ï£Íû¶ÔÓ ......

asp.net ³¤ÄÚÈÝÎÄÕÂ×Ô¶¯·ÖÒ³

ǰ̨´úÂ룺
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="articleview.aspx.cs" Inherits="articleview" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ