Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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);  
                 


Ïà¹ØÎĵµ£º

dz̸ASP.net°²È«±à³Ì

ÔÚWeb±à³Ì¹ý³ÌÖУ¬´æÔÚןܶలȫÒþ»¼¡£±ÈÈçÔÚÒÔÇ°µÄASP°æ±¾ÖУ¬CookieΪ·ÃÎÊÕߺͱà³ÌÕ߶¼ÌṩÁË·½±ã£¬²¢Ã»ÓÐÌṩ¼ÓÃܵŦÄÜ¡£´ò¿ªIEä¯ÀÀÆ÷£¬Ñ¡Ôñ“¹¤¾ß”²Ëµ¥ÀïµÄ“InternetÑ¡Ï¬È»ºóÔÚµ¯³öµÄ¶Ô»°¿òÀïµ¥»÷“ÉèÖÔ°´Å¥£¬Ñ¡Ôñ“²é¿´Îļþ”°´Å¥£¬ÔÚµ¯³öµÄ´°¿ÚÖУ¬¾Í»áÏÔʾӲÅÌÀï ......

asp.net ×öÑéÖ¤Âë

ASP.NETÑéÖ¤Â루3ÖÖ£©
°Ñ×î½üÅöµ½µÄ Äܹ»ÓõÄÑéÖ¤Âë ¶¼·Å³öÀ´£¬×÷¸ö¼Ç¼
1.GSC_WebControlLibrary ÕâÊÇÔÚÍøÉÏÕÒµ½µÄÒ»¸ö¿Ø¼þ£¬·Ç³£ºÃÓᣵ«ÊÇЧ¹û²»ÊÇÌرðºÃ£¨¼ûÏÂͼ¡£
£©ËäÈ»ÈÝÒ×ʹÓã¬ËùÓеÄÊôÐÔ¶¼¿ÉÒÔÏñ¿Ø¼þÒ»ÑùÉèÖ㬵«ÊÇ¿ÉÓÃÐÔ²»Ì«¸ß¡£Óû§²»ÄÜ×Ô¶¨Ò壬¶øÇÒ¿´ÆðÀ´Õâ¸öÑéÖ¤ÂëЧ¹û²»Ì«ºÃ¡£
Ч¹û£º
2.ÓÃÒ»¸öÒ³ÃæÉú ......

asp.netÖÐʵÏÖÆ´ÒôÊ××Öĸ²éѯ

ÔÚsqlÀïÃæн¨×Ô¶¨Ò庯Êý£¬´úÂëÈçÏ£º
CREATE function fun_getPY(@str nvarchar(4000))
returns nvarchar(4000)
as
begin
declare @word nchar(1),@PY nvarchar(4000)
set @PY=''
while len(@str)>0
begin
set @word=left(@str,1)
--Èç¹û·Çºº×Ö×Ö·û£¬·µ»ØÔ­×Ö·û
set @PY=@PY+(case when unicode(@word) betw ......

¡¾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רÌâ¡¿(5)——ÈçºÎÏòView´«Öµ

ÉÏһƪÎÄÕÂÏêϸ½éÉÜÁËÈçºÎÀûÓÃASP.NET MVC´´½¨×Ô¼ºµÄÒ³Ã棬ÔÚÎÄÕ½éÉÜÁËÈçºÎÀûÓÃViewDataÓÉControllerÏòViewÎļþ´«Öµ£¬ÄÇеÄÎÊÌâÔٴγöÏÖ£¬ÎÒÃdzýÁËÄÜÏÔʾaspxÎļþÍ⻹ÄÜÏÔʾÆäËüµÄÎļþô£¿
±¾ÎĽ«Ïêϸ½éÉÜÈçºÎÏòView´«Öµ¡£
Ò»¡¢ViewDataÓëTempDataÊôÐÔÀ´ÏòViewÒ³´«µÝ¶ÔÏó
ÉÏÎÄÖÐÒѾ­Ìáµ½,ʹÓÃViewData¿ÉÒÔ½«Êý¾ÝÓÉCont ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ