´ø±à¼µÄÏÂÀ¿òasp.net
ÐÞ¸ÄÁË´Ó£ºhttp://www.cnblogs.com/ejiyuan/archive/2007/11/09/954325.htmlµÄÒ»ÅúÎÄÕ Éú³ÉÁË¿ÉÒÔÔÚGridviewÀïÃæµ÷ÓõÄCombBox¿Ø¼þ£¬ÊÇ»ùÓÚAjaxµÄ¡£
¶ÀÁ¢Ê¹ÓÃʹÓ÷½Ê½£¨£©£º <Com:ComboBox ID="ComboBox2" runat="server" Independent="true" Width="80px" EnableViewState="true">
</Com:ComboBox>
ÔÚGridviewʹÓ÷½Ê½£¨£©£º <Com:ComboBox ID="ComboBox2" runat="server" Independent="false" Width="80px" EnableViewState="true" DataArg='<%Eval("±àºÅ") %>'>
</Com:ComboBox>
using System;
using System.ComponentModel;
using System.Web;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Collections;
using System.Web.UI.Design;
[assembly: TagPrefix("Com", "Com")]
namespace Com
{
/// <summary>
/// Represents a control that allows the user to select a single item from a drop-down list,
/// or type in a new value that is not in the list.
/// </summary>
/// <remarks>
/// Since the ComboBox control inherits from <see cref="System.Web.UI.WebControls.ListBox"/>,
/// you can use it in exactly the same manner (including DataBinding).
/// For older browsers that do not support the functionality required to render this control,
/// a normal dropdown box will be emitted instead.
/// </remarks>
[ToolboxData("<{0}:ComboBox runat=\"server\"></{0}:ComboBox>")]
[ValidationPropertyAttribute("SelectedValue")]
[Designer(typeof(Com.ComboBoxDesigner))]
&nbs
Ïà¹ØÎĵµ£º
ASP.NETÉú³ÉËæ»úÃÜÂë
ÔÚ¿ª·¢ÐèÒªÓû§×¢²áºó²ÅÄÜʹÓÃÌṩµÄ¸÷ÏÄܵÄÓ¦ÓóÌÐòʱ£¬ÔÚÐÂÓû§Ìá½»×¢²áÐÅÏ¢ºó£¬½Ï³£¼ûµÄ×ö·¨ÊÇÓɳÌÐòÉú³ÉËæ»úÃÜÂ룬Ȼºó·¢ËÍÃÜÂëµ½Óû§×¢²áʱÌîдµÄµç×ÓÐÅÏ䣬Óû§ÔÙÓÃÊÕµ½µÄÃÜÂëÀ´¼¤»îÆäÕÊ»§¡£
ʵÏÖASP.NETÉú³ÉËæ»úÃÜÂ빦ÄÜÊǺÜÈÝÒ׵ģ¬ÏÂÃæµÄ´úÂë¸ø³öÁËÍêÕûµÄʵÏÖ·½·¨£º
public static stri ......
Ò루Beginner's Guide To ASP.NET Cookies£©
ÔÎÄÀ´×ÔÓÚ http://www.codeproject.com/KB/aspnet/Beginners_Cookies.aspx
Asp.net Cookies ÐÂÊÖÖ¸ÄÏ
Ŀ¼
•½éÉÜ
•ʲôÊÇCookies?
•ÔõÑùÆô¶¯Cookies?
•Cookies µÄÓÅÊÆ
•Cookies µÄÁÓÊÆ
•ÈçºÎ½¨Á¢Cookies?
•ÔõÑù´ÓCookies ÖжÁÈ¡Ê ......
//ʹÓÃÑéÖ¤·½·¨
if (!InputValidator(txt.Text.Trim()))
{
ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "myScript", "alert('\"Îı¾¿ò\"ÊäÈëÁË·Ç·¨×Ö·û»òÊäÈ볬³¤£¡');", t ......
public static string GetCustomerCName(ref ArrayList arrayCName,ref ArrayList arrayID)
{
SqlConnection con=ADConnection.createConnection();
  ......
Private Sub SendEmail()
Dim email As System.Web.Mail.MailMessage = New Mail.MailMessage
Dim emailsmtp As System.Web.Mail.SmtpMail
Dim emailattch As S ......