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

asp.net Öиıädatagrid µÄÁпí

private void Page_Load(object sender, System.EventArgs e)
{

DataGrid1.Columns[0].HeaderText = "ÎÄÕ±êÌâ";
DataGrid1.Columns[1].HeaderText = "·¢²¼ÈÕÆÚ";
DataGrid1.Columns[0].HeaderStyle.HorizontalAlign = HorizontalAlign.Center;
DataGrid1.Columns[1].HeaderStyle.HorizontalAlign = HorizontalAlign.Center;
///' ֻΪ Header ÐÐÌí¼Ó¿í¶È
DataGrid1.Columns[0].HeaderStyle.Width = System.Web.UI.WebControls.Unit.Percentage(72);
DataGrid1.Columns[1].HeaderStyle.Width = System.Web.UI.WebControls.Unit.Percentage(28);
DataGrid1.Style.Add("table-layout", "fixed");
}


Ïà¹ØÎĵµ£º

dz̸ASP.net°²È«±à³Ì

ÔÚWeb±à³Ì¹ý³ÌÖУ¬´æÔÚןܶలȫÒþ»¼¡£±ÈÈçÔÚÒÔÇ°µÄASP°æ±¾ÖУ¬CookieΪ·ÃÎÊÕߺͱà³ÌÕ߶¼ÌṩÁË·½±ã£¬²¢Ã»ÓÐÌṩ¼ÓÃܵŦÄÜ¡£´ò¿ªIEä¯ÀÀÆ÷£¬Ñ¡Ôñ“¹¤¾ß”²Ëµ¥ÀïµÄ“InternetÑ¡Ï¬È»ºóÔÚµ¯³öµÄ¶Ô»°¿òÀïµ¥»÷“ÉèÖÔ°´Å¥£¬Ñ¡Ôñ“²é¿´Îļþ”°´Å¥£¬ÔÚµ¯³öµÄ´°¿ÚÖУ¬¾Í»áÏÔʾӲÅÌÀï ......

ASP.NetÖг£¼ûµÄϵͳ¶ÔÏó

page£ºpage¶ÔÏóÊÇÖ¸Ò³Ãæ×ÔÉíµÄ·½Ê½£¬ÔÚÕû¸öÒ³ÃæµÄÖ´ÐÐÆÚÄÚ£¬¶¼¿ÉÒÔÓøöÔÏó¡£
Request£º´Ë¶ÔÏó·â×°ÁËÓÉWebä¯ÀÀÆ÷»òÕßÆäËû¿Í»§¶ËÉú³ÉµÄHTTPÇëÇóµÄϸ½Ú£¬Ìṩ´Óä¯ÀÀÆ÷¶ÁÈ¡ÐÅÏ¢»òÕ߶ÁÈ¡¿Í»§¶ËÐÅÏ¢µÈ¹¦ÄÜ£¬ÓÃÓÚÒ³ÃæÇëÇóÆÚ¡£
Response£º´Ë¶ÔÏó·â×°ÁË·µ»Øµ½HTTP¿Í»§¶ËµÄÊä³ö£¬ÌṩÏòä¯ÀÀÆ÷Êä³öÐÅÏ¢»òÕß·¢ËÍÖ¸ÁÓÃÓÚÒ³ÃæµÄÖ´ÐÐ ......

asp.net¼òµ¥ÊµÏÖÒ³Ãæ»»·ô

ʵÏÖÒ³Ãæ»»·ô ¸øhtml form Ìí¼ÓÏàÓ¦µÄÑùʽ ´úÂëÈçÏÂ:
private string _StyleClass;
public string StyleClass
{
get { return _StyleClass; }
set { _StyleClass = value; }
}
private void StyleForm()
{
HtmlForm Form1 = this.FindControl("form1") a ......

IISÖÐÀûÓÃIpµØַʵÏÖÔÚ¾ÖÓòÍøÖзÃÎÊAsp.netÍøÕ¾

     ×î½üÏë°Ñ×öµÄASP.NETÍøÕ¾ÅäÖõ½IIS£¬ÊµÏÖÔÚ¾ÖÓòÍøÖзÃÎÊ¡£ÔÚÍøÕ¾ÉÏÕÒÁËЩ×ÊÁÏ£¬×Ô¼ºÑо¿ÁËÏ£¬ÏÖ°ÑһЩ¾ßÌå²½Öè¼°ÎÊÌâ·ÖÏí³öÀ´£¬Ï£Íû¶Ô´ó¼ÒÓÐËù°ïÖú¡£
     Ò»¡¢ÅäÖÃIIS
     1¡¢"³ÌÐò"->"ÉèÖÃ"->"¿ØÖÆÃæ°å"->"¹ÜÀí¹¤¾ß"->Ñ¡Ôñ"Internet Ð ......

ASP.NET¿Ø¼þ¿ª·¢»ù´¡Ö®ÊµÏֿؼþ¼¯ºÏÊôÐÔ

¼¯ºÏÊôÐÔÏàÐÅ´ó¼Ò¶¼ºÜÊìϤҲºÜ³£ÓÃ,ÈçDropDownList,ListBoxµÈ¿Ø¼þ
﹤asp:DropDownList ID="DropDownList1" runat="server"﹥              ﹤asp:ListItem﹥²âÊÔ1﹤/asp:ListItem﹥    & ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ