C#¿ØÖƱ³¾°É«ASP.NET
protected void Page_Load(object sender, EventArgs e)
{
form1.Style.Add(HtmlTextWriterStyle.BackgroundColor, Profile.PreferredBackgroundColor.ToString());
}
//Çé¿öÊÇÎҵı³¾°ÒѾ´æÈëÊý¾Ý¿âÖУ¬Õâµã¿ÉÒÔÅųý£¬ÒòΪÎÒÓõÄthis.lable1.backcolor=Profile.PreferredBackgroundColorÒѾ³É¹¦£¬
ÏÖÔÚ¾ÍÊÇÏëÎÊÏ£¬´°ÌåÔõôÏÔʾ±³¾°É«£¬ÓÃC#£¬ÔÚWEBÒ³ÖпØÖÆ£¬²»ÊÇWINFORM£¬Ð»Ð»
protected void Button1_Click(object sender, EventArgs e)
{
Profile.PreferredBackgroundColor = Color.fromName(ddlColor.SelectedValue);
Response.Redirect(Request.Url.LocalPath);
}
Ö±½ÓÓÃ
C# code:
protected void Page_Load(object sender, EventArgs e)
{
form1.Style.Add(HtmlTextWriterStyle.BackgroundColor, "red");
}
ÊǺÃʹµÄ°¢
¶Ïµãµ÷ÊÔÒ»ÏÂ,¿´¿´Äãµã°´Å¥ºóµÄpageloadÀïµÄProfile.PreferredBackgroundColorÊDz»ÊÇÓÐÖµ
µ÷ÊÔÊÇ×îºÃµÄ²î´í·½·¨£¬ºÜʵ¼Ê£¬ÎÒϲ»¶¡£Ö§³Ö¡£
ÈçÐèÒªÔĶÁ¸Ã»Ø¸´£¬ÇëµÇ¼»ò×¢²áCSDN!
Ïà¹ØÎÊ´ð£º
±¾ÈËc#ÐÂÊÖ ¿ÉÊÇÒªÇóÒªÓÃc# £¬sql2000¿ª·¢c/sµÄ¹¤×÷Á÷£¬Ò»Í·ÎíË®£¬Çë´ó¼Ò°ïæ°ï棬¸øµã˼·£¬ËµµÄÔ¼¾ßÌåÔ½ºÃ£¬ÎÒÒ²ºÃÍùÄǸö·½Ãæȥѧϰ
http://www.hxzi.com/view/61402.html
B/S°æµÄ£¬»ù±¾Ë¼ÏëÓ¦¸Ã²î²»¶àµÄ¡£¡£ ......
ÎÒ×öÁËÒ»¸öÍøÕ¾·ÅÔÚ·þÎñÆ÷ÉÏ£¬Ç°¼¸Ì춼¿ÉÒÔ·ÃÎʲ¢ÇÒËٶȻ¹ÐУ¬Ôõôµ½½ñÌì·ÃÎÊËÙ¶ÈÌØÂý£¬µ½×îºÃ¶¼·ÃÎʲ»ÁËÀ²¡£Çë¸ßÊÖÖ¸½Ì
ÄÇÒ²Ö»ÄÜ˵·þÎñÆ÷µÄÎÊÌâ¡£
Èç¹û²»ÊÇÔÚ·þÎñÆ÷ÉÏ ËÙ¶ÈÔõôÑùÄØ
Ò²ÐíÊÇÄãµÄ·þÎ ......
˸øÒ»¸ö°¡£¿
google aspnetpager·ÖÒ³¿Ø¼þ
·ÖÒ³´æ´¢¹ý³Ì
aspnetpager,×Ô´øµÄ¿Ø¼þdatapager
Select TOP Ò³´óС *
from TestTable
Where (ID >
(Select MAX(id)
from (Select TOP Ò³´óС ......
1¡¢HTMLÖÐÎĵµÄÚÁª×¢ÊÍÓ¦¸ÃÊÇÒÔ2¡¢CSS¹æ·¶ÖУ¬Ã¿Ò»ÌõÑùʽµÄ½áÊø·ûÊÇ;£¨·ÖºÅ£©»¹ÊÇ: £¨Ã°ºÅ£© £¿ÑùʽÃûÓëÑùʽֵ֮¼äµÄ·Ö¸ô·ûºÅÊÇ:£¨Ã°ºÅ£©»¹ÊÇ=£¨µÈºÅ£© £¿
3¡¢FireFoxä¯ÀÀÆ÷ÊÇ·ñÖ±½ÓÖ§³ÖVBScript½Å±¾£¿
4¡¢ÏÖÓ ......