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

ASP.NET MVC postÌá½»±íµ¥ ºǫֵ́Ϊ¿Õ

×òÌìÓöµ½ÁËÒ»¸öСÎÊÌâ,Ìá½»±íµ¥µÄʱºò,ºǫ́µÄactionÖÐÑéÖ¤µÄ±íµ¥ÀïµÄ¿Ø¼þÖµ¾ÓÈ»ÊÇ¿ÕÖµ,µ÷À´µ÷È¥²»µÃÆä·¨.
ÎÒÔÚǰ̨µÄ±íµ¥Àï¿Ø¼þÓõÄÊDZê×¼html¿Ø¼þ
Ò³ÃæÉÏʹÓÃÏÂÃæÓï¾ä·¢ËÍform
<%using (Html.BeginForm("AddNewPicGroups", "MetaData")){ %>
ºǫ́ʹÓÃÈçÏÂÓï¾ä½ÓÊÕʱȴ½ÓÊÕ²»µ½Êý¾Ý
public ActionResult AddNewPicGroups(FormCollection formValues)
{
 string new_picGroupNameTextBox = Request.Form["new_picGroupNameTextBox"];
 string new_picGroupDesTextBox = Request.Form["new_picGroupDesTextBox"];
 return View();
}
Ò³ÃæÉÏʹÓÃinput¾ÍÎÞЧ
<input id="new_picGroupDesTextBox" type="text" style="width:98%;" />
µ«ÊÇʹÓÃHtml.TextBoxʱ¾ÍûÓÐÎÊÌâ,ºǫ́¾Í¿ÉÒÔ½ÓÊÕµ½±íµ¥ÖеÄÊý¾Ý.
<%= Html.TextBox("username") %>
ºóÀ´Ö±½Ó²é¿´Éú³ÉµÄÍøÒ³´úÂë²Å·¢ÏÖHtml.TextBox»áÉú³ÉnameÖµ,¸ÃÖµºÍidÊÇÒ»ÑùµÄ,¶øÎÒдµÄ<input>ÀïÃæûÓÐnameÖµ,Ìí¼ÓÉÏnameÖµÖ®ºó¾Í¿ÉÒÔÁË¡£


Ïà¹ØÎĵµ£º

asp.net²Ù×÷word


http://www.cnblogs.com/jinglelin/archive/2005/09/02/228486.html 
Éæ¼°µ½asp.net²Ù×÷wordµÄÎÊÌâ
½ñÄê½ÐøÓÖÅöµ½²Ù×÷excel¡¢wordµÈofficeÎĵµ
ʹÓõĶ¼ÊÇInteropÏà¹Ødll£¬´ò¿ªofficeÏà¹Ø½ø³Ì½øÐвÙ×÷
ΪÃâÍü¼Ç£¬½«Ïà¹ØtipÕûÀíÈçÏ£º
1. ÒýÓÃÎļþ,¼¸¸ödll´ò°üÁË
2. ²Ù×÷word´úÂëʾÀý:
using ImportExportToO ......

ASP.NET ÖÐÈçºÎ·À·¶SQL×¢Èëʽ¹¥»÷

Ò»¡¢Ê²Ã´ÊÇSQL×¢Èëʽ¹¥»÷?
¡¡¡¡ËùνSQL×¢Èëʽ¹¥»÷£¬¾ÍÊǹ¥»÷Õß°ÑSQLÃüÁî²åÈëµ½Web±íµ¥µÄÊäÈëÓò»òÒ³ÃæÇëÇóµÄ²éѯ×Ö·û´®£¬ÆÛÆ­·þÎñÆ÷Ö´ÐжñÒâµÄSQLÃüÁî¡£ÔÚijЩ±í
µ¥ÖУ¬Óû§ÊäÈëµÄÄÚÈÝÖ±½ÓÓÃÀ´¹¹Ôì(»òÕßÓ°Ïì)¶¯Ì¬SQLÃüÁ»ò×÷Ϊ´æ´¢¹ý³ÌµÄÊäÈë²ÎÊý£¬ÕâÀà±íµ¥ÌرðÈÝÒ×Êܵ½SQL×¢Èëʽ¹¥»÷¡£³£¼ûµÄSQL×¢Èëʽ¹¥
»÷¹ý³ÌÀàÈ磺 ......

asp.netÈçºÎ»ñÈ¡msnÁªÏµÈË°¡

֮ǰҲÊÇÔÚÍøÉÏÕÒµÄdotMsn¿ÉÒÔ»ñÈ¡ÁË£¬Ö®ºóÓÖÔÚÍøÉÏ¿´µ½ËµÊÇmsnÉý¼¶ÁËdotMsn»ñÈ¡²»µ½ÁË£¬Ôõô°ìÄÇ£¬ÎÒÏÖÔÚÔÚ×öÒ»¸öÉçÇøÍø£¬ÀïÃæÓÐÑûÇëºÃÓѼÓÈëµÄ¹¦ÄÜ£¬ÐèÒª»ñÈ¡µ½msnµÄÁªÏµÈË£¬Èç¹ûÓÐÄÄλ¸ßÊÖÖªµÀµÄ£¬Âé·³¸øÎÒ·¢Ò»·Ý£¬ÏÈллÁË£¡msn:gongchuanbo@live.cn ,qq:476759761 ......

asp.net ¶Ô·¾¶***µÄ·ÃÎʱ»¾Ü¾ø

ÔÚwindows 2003ÏÂ,ÔÚÔËÐÐwebÓ¦ÓóÌÐòµÄʱºò³öÏÖһϴíÎó:
        ·þÎñÆ÷ÎÞ·¨´¦ÀíÇëÇ󣬣­£­£¾¶Ô·¾¶“C:\temp\mytest.txt”µÄ·ÃÎʾܾø
˵Ã÷: Ö´Ðе±Ç° Web ÇëÇóÆڼ䣬³öÏÖδ´¦ÀíµÄÒì³£¡£Çë¼ì²é¶ÑÕ»¸ú×ÙÐÅÏ¢£¬ÒÔÁ˽âÓйظôíÎóÒÔ¼°´úÂëÖе¼Ö´íÎóµÄ³ö´¦µÄÏêϸÐÅÏ¢¡£
Òì³ ......

ASP.NET¿çÒ³Ãæ´«Öµ·½·¨

1.  Ê¹ÓÃQueryString±äÁ¿
QueryString¿ÉÒÔ½«´«Ë͵ÄÖµÏÔʾÔÚä¯ÀÀÆ÷µÄµØÖ·À¸ÖÐ.Èç¹ûÊÇ´«µÝÒ»¸ö»ò¶à¸ö°²È«ÐÔÒªÇ󲻸߻òÊǽṹ¼òµ¥µÄÊýֵʱ,¿ÉÒÔʹÓÃÕâ¸ö·½·¨.µ«ÊǶÔÓÚ´«µÝÊý×é»ò¶ÔÏóµÄ»°,¾Í²»ÄÜÓÃÕâ¸ö·½·¨ÁË.ÏÂÃæÊÇÒ»¸öÀý×Ó£º
a.aspxµÄC#´úÂë
private void Button1_Click( object sender, System.EventArgs e )
......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ