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

ASP.NET×Ô¶¯Éú³É¾²Ì¬HTMLÍøÒ³, ÔÙ°´ÈÕÆÚ´æ·ÅĿ¼

һ˵µ½ÐÂÎÅϵͳµÄ»°£¬Ò»¶¨»á̸µ½¾²Ì¬Ò³ÃæÉú³ÉµÄ£¬ÒòΪ¾²Ì¬Ò³Ãæ²»µ«ÊǶÁÈ¡Ëٶȿ죬¶øÇÒÓÖ°²È«£»
¾²Ì¬Ò³ÃæµÄÉú³É²»¹ÜÊÇСµ½ÏÖÔÚµÄÆóÒµÍøÕ¾´óÖÁÍøÒ×£¬£Ñ£ÑµÈÃÅ»§¶¼Óõ½ÁË£»
ÄÇôÎÒÃÇÈçºÎÀ´Éú³É¾²Ì¬Ò³ÄØ£¿
ÒÔʲô·½Ê½Éú³É¾²Ì¬Ò³ÃæÄØ……
ÔÚÉú³É¾²Ì¬Ò³ÃæµÄʱºòÓÐÄÇЩÊÇҪעÒâµÄÄØ£º
¾²Ì¬Ò³ÃæÃüÃû
ͳһ´æ·ÅĿ¼
¾²Ì¬Ò³ÃæÄ£°å
Ò³ÃæÉú³É
Ò»°ãÀ´Ëµ£¬ÔÚÔ­À´ÐÂÎÅϵͳµÄ»ù´¡ÉÏÎÒÃÇ¿ÉÒÔ¸ù¾ÝGET´ËÒ³ÃæÇëÇóµÄÄÚÈÝÔÙÉú³É£¨±ÈÈ磺http;//www.test.com/news.aspx?id=1£¬GET´ËÒ³Ãæ´úÂëÖ±½ÓдÖÁÒ»¸öÎı¾Îļþ²¢ÒÔHTMLÃüÃû¼´¿É£©£»
ÔÚÕâÀïÎÒËù²ÉÓõÄÊÇÄ£°åÉú³É£¬ÏÈÓÃDW×öÒ»¸öÍøҳģ°å£¬½«±êÌ⣬ÄÚÈݵȽ«Òª¶¯Ì¬ÊµÏÖµÄÄÚÈÝÏÈÒÔ$Title$µÈÌæ»»£¬µÈÔÚÉú³ÉµÄʱºòÌæ»»³ÉÐÂÎŵÄÄÚÈÝ£»
ÃüÃû£ºÔÚÉú³ÉµÄʱºòÒ»°ãÀ´ËµÊDzÉÓÃÐÂÎÅ·¢²¼µÄʱ¼äת»»³ÉµÄ×Ö·û´®£¬Õâ¸öÊDz»»áÖظ´µÄ¡£ÁíÍâÎÒ»¹°´Äê·ÝÔ·ݰÑÕâЩ¾²Ì¬Îļþ´æ·ÅÔÚ²»Í¬µÄĿ¼£¬ÒÔ±ãÓÚ¹ÜÀí£¬ÔÚÕâÀï¸ù¾ÝÒ»¸öÐÂÎŵÄIDµ÷Ó÷½·¨WriteNews()¸ø¶¨²ÎÊýID£¬Ëü¾Í»á¸ù¾Ý´ËID´ÓÊý¾Ý¿âÖжÁÈ¡ÄÚÈÝ£¬ÔÙ¸ù¾Ý¾²Ì¬Ä£°åÒ³Ãæ html/test.htmlÉú³Éеľ²Ì¬Ò³Ãæ´æ·ÅÔÚÏàÓ¦Äê·ÝÔ·ݵÄĿ¼
ºÃÁË£¬ÏÂÃæÊÇ´úÂ룺
C#´úÂ룺
using System;
using System.IO;
using System.Web;
using System.Text;
namespace PowerLeader.Components
...{
    /**//// <summary>
    /// WriteTOHtml µÄժҪ˵Ã÷¡£
    /// </summary>
    public class WriteTOHtml
    ...{
        public WriteTOHtml()
        ...{
            //
            // TODO: ÔÚ´Ë´¦Ìí¼Ó¹¹Ô캯ÊýÂß¼­
            //
        }
        public static void WriteNews(int id)
        ...{
            News news = new News();           
     


Ïà¹ØÎĵµ£º

ASP.net µ¯³ö´°Ìå

Respose.Write("<script     language='javascript'>window.open('"+     url     +"');</script>"); 
£¨´ò¿ª¼ò½à´°¿Ú£©£º
Respose.Write("<script     language='javascript'>window.open('"  &nbs ......

ÔÚasp.netÖнÓÊÕsql serverÖд洢¹ý³ÌµÄ·µ»ØÖµ

´æ´¢¹ý³Ì´úÂ룺
create procedure proc_name
   @para1 nchar(20),    --ÊäÈë²ÎÊý
   @para2 int = null output¡¡--Êä³ö²ÎÊý£¬¹©³ÌÐòʹÓÃ
as
begin
   if (@para1='a')
   begin
       insert into employee(name) value ......

°ÑASP.NETÍøҳתÒƵ½SharePointÍøÒ³µÄ·½·¨

¹«Ë¾Ô­ÓÐÒ»¸ö¾ÖÓòÍø£¬¾­¹ý¶àÄêµÄÐÞÐÞ²¹²¹£¬ÒѾ­´´½¨Á˲»ÉÙµÄÄÚÈÝ£¬°üÀ¨Ò»Ð©Êý¾Ý¿â²éѯ±¨±í¡¢¹¤×÷Á÷µÈÍøÕ¾£¬ÕâЩÍøÕ¾ÓÐһЩÊÇÓÃASP.NETÀ´¿ª·¢µÄ£¬²¢ÇÒÓÃÁ˺ܶàÄ꣬»ýÀÛÁ˺ܶàÒµÎñÊý¾Ý£»ÏÖÔÚ¹«Ë¾Ïë°Ñ¾ÖÓòÍøÓÃWSS3.0À´¼ÜÉ裬Õâ¾ÍÃæÁÙµ½Ò»¸öºÜ¼¬ÊÖµÄÎÊÌ⣬¾ÍÊÇÔõÑùÀ´´¦ÀíÕâЩ¾ÉµÄÍøÒ³¡£Èç¹ûÍƵ¹ÖØÀ´£¬ÄÇô¹¤×÷Á¿½«ÊǷdz£ÏÅÈ˵ģ ......

Asp.NETÉú³É¾²Ì¬Ò³Ãæ²¢·ÖÒ³(ÎÄÕÂÄÚÈÝ·ÖÒ³)

Ö÷ÒªµÄÔ­Àí¾ÍÊÇÌ滻ģ°åÀïµÄÌØÊâ×Ö·û¡£
1¡¢¾²Ì¬Ä£°åÒ³Ãæ template.html£¬Ö÷ÒªÊǶ¨ÒåÁËһЩÌØÊâ×Ö·û£¬ÓÃÀ´±»Ìæ»»¡£
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">   <html>   <he ......

asp.netÎļþ²Ù×÷Àà

using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using  ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ