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

asp.net C#ÃüÃû²ÎÊýSqlParameterÏê½â

DBHelper:
         /// <summary>
        /// Ö´Ðвéѯ
        /// </summary>
        /// <param name="sql">ÓÐЧµÄselectÓï¾ä</param>
        /// <returns>·µ»ØSqlDataReader</returns>
        public static SqlDataReader ExecuteReader(string sql)
        {
            SqlConnection con = new SqlConnection(constring);
            con.Open();
            SqlCommand cmd = new SqlCommand(sql, con);
            return cmd.ExecuteReader(CommandBehavior.CloseConnection);
        }
        /// <summary>
        /// Ö´Ðвéѯ´ø²ÎÊý
        /// </summary>
        /// <param name="sql">ÓÐЧµÄselectÓï¾ä</param>
        /// <returns>·µ»ØSqlDataReader</returns>
        public static SqlDataReader ExecuteReader(string sql,SqlParameter parameter)
        {
            SqlConnection con = new SqlConnection(constring);
            con.Open();
            SqlCommand cmd = new SqlCommand(sql, con);
            cmd.Parameters.Add(parameter);
&nbs


Ïà¹ØÎĵµ£º

40ÌõASP.NET¿ª·¢ÖªÊ¶

1¡¢ÔÚcompilation Ï£¬ÇëÉèÖÃdebug=false £¬ÈçÏ£º
default Language="c#" debug="false">
2¡¢ÇëʹÓÃServer.Transfer´úÌæResponse.Redirect¡£
3¡¢Ê¹ÓÃValidator¿Ø¼þ£¬ÇëÒª¾­³£¼ì²éPage.IsValid¡£
4¡¢ÇëʹÓÃforeachÑ­»·£¬¶ø²»ÊÇΪ×Ö·û´®µü´úÑ­»·¡£
5¡¢ÇëʹÓÿͻ§¶ËÑéÖ¤·½Ê½(²»ÒªÃ¿´Î¶ ......

asp.net ½«HTMLÎļþµ±ASPXÎļþ½âÎö

Ê×ÏÈÔÚÓ¦ÓóÌÐòµÄWEB.CONFIGÐÞ¸ÄÈçϽڵ㡣
<httpHandlers>
    <add verb="*" path="*.html" type="System.Web.UI.PageHandlerFactory"/>
</httpHandlers>
<assemblies>
    <buildProviders>
        <add ext ......

SilverlightÓ¦ÓóÌÐòÖÐÈçºÎ»ñÈ¡ASP.NETÒ³Ãæ²ÎÊý

¸ÅÊö
ÔÚ¿ª·¢SilverlightÓ¦ÓóÌÐòʱ£¬ÎÒÃǾ­³£»áÓöµ½ÕâÑùÒ»ÖÖÇé¿ö£¬ÐèÒªÔÚSilverlightÓ¦ÓóÌÐòµÄUserControlÖлñÈ¡ASP.NETÒ³Ãæ²ÎÊý£¬Õâ¸ö²ÎÊý²»Ò»¶¨À´×ÔÓÚµ±Ç°SilverlightÓ¦ÓóÌÐòµÄËÞÖ÷Ò³Ãæ£¬¶øÓпÉÄÜÀ´×ÔÓÚÆäËüµÄASP.NETÒ³Ãæ¡£
±¾ÎÄÎÒÃǼòµ¥µÄ½éÉÜÒ»ÏÂÈçºÎÔÚSilverlightÓ¦ÓóÌÐòÖлñÈ¡ASP.NETÒ³Ãæ²ÎÊý¡£
ÐèÇó
ÈçÏÂÃæµÄ ......

asp.netʹÓþ«ÁéÄ«ÁÖÌáʾÕÒ²»µ½Ö¸¶¨Ä£¿é

´°Ìå´úÂë:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using AgentObjects;
using SpeechLib;
using System.Web;
using System.Threading;
using System.Text.RegularExpressio ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ