silverlight ÈÚºÏASP.NET MVC Àý×Ó
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
namespace SilverlightApplication2
{
public partial class MainPage : UserControl
{
public MainPage()
{
InitializeComponent();
}
private void button1_Click(object sender, RoutedEventArgs e)
{
MessageBox.Show("HelloWorld");
}
}
}
Ïà¹ØÎĵµ£º
1.ʲôÊÇcookie?
cookie ÊÇһС¶ÎÎı¾ÐÅÏ¢£¬°éËæÓû§ÇëÇó£¬ÔÚweb·þÎñÆ÷ºÍä¯ÀÀÆ÷Ö®¼ä´«µÝ¡£Óû§Ã¿´Î·ÃÎÊÕ¾µãµÄʱºò£¬
webÓ¦ÓóÌÐò¶¼¿ÉÒÔ¶ÁÈ¡cookie°üº¬µÄÐÅÏ¢¡£
¼ÙÉèÔÚÓû§ÇëÇóÄúµÄÍøÕ¾µÄij¸öÒ³ÃæÊ±£¬ÄúµÄÓ¦ÓóÌÐò²»½öÊÇ·µ»ØÇëÇóµÄÒ³Ãæ¡£Í¬Ê±Ò²·µ»ØÒ»¸ö°üº¬ÈÕÆÚ
ºÍʱ¼äµÄcookie¡£Óû§µÄä¯ÀÀÆ÷ÔÚ»ñµÃÒ³ÃæµÄͬʱҲ»ñµÃÁË ......
Ôõôдһ¶Îasp.net´úÂ룬°ÑÒ»¸ö×Ö·û´®ÖÐËùÓеÄHTML±ê¼Ç¶¼È¥µô£¬Ö»Ê£ÏÂÎÄ×ÖÄÚÈÝÄØ£¿
±ÈÈ磺<td width=\"427\" align=\"left\" class=\"cn\">½Ï¸ßµÄζȣ¬¿ÉÄÜÔö¼ÓÆ¡¾Æ¶ÔÄúµÄÓÕ»ó£¬ÊÊÁ¿ÒûÓÃÆ¡¾Æ»á¸øÄú´øÀ´ÇåÁ¹µÄ¸Ð¾õ£¬µ«Ç§Íò×¢Òâ²»Òª¹ýÁ¿ßÏ£¡</td>
......
ÔÚMembership±íÖпÉÒԴ洢һЩÓû§µÄ»ù±¾ÐÅÏ¢£¬µ«ÓеÄʱºò£¬ÎÒÃÇÐèÒª¼Ç¼µÄÓû§ÐÅÏ¢Ô¶Ô¶²»Ö¹Membership±íÖÐÌṩµÄÕâЩ£¬ÈçQQ¡¢MSN¡¢¼Òͥסַ¡¢ÁªÏµµç»°µÈµÈ¡£ÄÇÈçºÎ°ÑÕâЩÓû§ÐÅÏ¢¼Ç¼µ½Êý¾Ý¿âÖÐÄØ£¿ÔÚasp.net2.0ÖÐΪÎÒÃÇÌṩÁ˸öÐÔÉèÖõŦÄܨD¨DProfile¡£ÏÂÃæ¿´Ò»ÏÂProfileµÄ¼¸¸öÌØÕ÷£º
1) Profile¸ù¾Ýÿ¸öÓû§´æ´¢¸÷×Ôµ ......
×î½ü×öµÄϵͳÖÐÀϳöÏÖµÄһЩÎÊÌⲻ̫Ã÷°×£¬ÔÚʹÓà Response.End¡¢Response.Redirect »ò Server.Transfer ʱ³öÏÖ ThreadAbortException £¬±¾À´ÏµÍ³ÊÇûÓÐÎÊÌâµÄ£¬ÔÚ±£´æÊý¾ÝʱҲ¿ÉÒÔÕý³££¬±¾À´Ê¹ÓÃtry-catch Óï¾äÊÇÓÃÀ´²¶»ñÒ»Òì³£Çé¿öµÄ£¬µ«ÏµÍ³Õý³££¬Àϲ¶»ñµ½ÏÂÃæµÄ¶«Î÷
##[²Ù×÷¼Ç¼]£º2010-02-23 9:25:12 Sys ......
¹«Ë¾ÒªÇ󿪷¢Ò»¸ö¼Ì³ÐSystem.Windows.Forms.ListViewÀàµÄ×é¼þ£¬ÒªÇó´ïµ½ÒÔϵÄÌØÊ⹦ÄÜ£ºµã»÷ListView¸÷ÁÐÁÐͷʱ£¬Äܰ´ÕÕµã»÷ÁеÄÿÐÐÖµ½øÐÐÖØÅÅÊÓͼÖеÄËùÓÐÐÐ (ÅÅÐòµÄ·½Ê½ÈçDataGridÏàËÆ)¡£¸ù¾ÝÄúµÄ֪ʶ£¬Çë¼òҪ̸һÏÂÄúµÄ˼· £¿
Ö±½Ó·ÅÉÏ´úÂ룺
using System;
using System.Collections.Generic;
using System.Comp ......