POST我做兩個分別~~一個是ASP.NET~~POST,一個是HTML~POST。
下面這個是ASP.NET,紅色為重點。ID一定要設好~~到時接收時要用的。
直接設BUTTION的POSTBACKURL就行了~~不用寫程式~~就會把TEXT1的值POST過去了。
<form id="form1" runat="server">
<div>
<asp:TextBox ID="Text1" runat="server"></asp:TextBox>
<asp:Button ID="Button1" runat="server" Text="Button" PostBackUrl="post.aspx" />
</div>
</form>
下面這個是HTML的POST,一樣紅色為重點。
form id="form" method="post" action="post.aspx" enctype="multipart/form-data">
<p>
<input id="Text1" name="Text1" type="text" value="1"/>
<input id="Submit1" type="submit" value="submit" /></p>
</form>
下面這個是用ASP.NET來接收POST的值~~
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Response.Write(Request.Form("Text1").ToString)
'接收別頁使用post過來的值!!
End Sub
這樣會了吧~~只要就是Request.Form("Text1").ToString就會接收TEXT1的值了。
在來就是~~有時POST時~~中文字會出現亂碼~~重點就是要在在web.config
加上下面的程式碼
就會變中文了
<configuration>
<system.web>
<globalization
fileEncoding="big5"
requestEncoding="big5"
responseEncoding="big5"
culture="zh-TW"
/>
</system.web>
</configuration>
6月 17, 2011
POST
標籤:
Asp.Net
訂閱:
張貼留言 (Atom)
6 則留言:
[url=http://www.mcmstorejpkodo.com]mcm バッグ[/url] Secret Strategies To Rule With The Help Of mcm
[url=http://www.mcmoutletjpinoue.com]mcm 財布[/url] mcm Adds New Life Span To An Old Problem: Defacto Requirements [url=http://www.mcmsalejapanoka.com]mcm リュック[/url] Interesting Tips Every mcm Admirer Are Advised To Have A Go With [url=http://www.mcmzankijpshop.com]mcm リュック[/url] Try To Avoid The Resources That Could Possibly Wreck Any mcm Completely
Different questions regarding bvlgari purse addressed and therefore the reasons why you really should scan through every word on this write up. [url=http://www.bvlgarishopjprie.com]ブルガリ 時計[/url] The ideal key for the bvlgari purse which you may learn more about right now. [url=http://www.bvlgarioutletshopjp.com]ブルガリブルガリ[/url] Reasons why absolutely no one is referfing to bvlgari purse and the things one ought to create straight away. [url=http://www.bvlgarisalekodojp.com]ブルガリ店舗[/url] Concise report shows you the unignorable information about bvlgari purse and also how it might influence on owners. [url=http://www.bvlgarisakaijpsale.com]ブルガリブルガリ[/url] Interesting article reveals the insight of bvlgari purse and then reasons why will need to take action as we speak. [url=http://www.bvlgariaokisalejp.com]ブルガリブルガリ[/url] Thriving recommendations for bvlgari purse that you can use beginning now. End Up Being The Very First To Find Out What The Researchers Say About [url=http://www.mcmbagsjphadori.com]mcm バッグ[/url] mcm Fiction Compared To The Honest Specifics
The Key When you need to master the gucci-market Is Very Straight forward! [url=http://growth-management.alachua.fl.us/comprehensive_planning/gucci.html]グッチ 財布[/url] The Key Factors When you need to dominate the gucci-market Is Kind Of Simple and easy! [url=http://growth-management.alachua.fl.us/comprehensive_planning/saclongchamp.php]Sacs longchamp[/url]
EnrHpa [url=http://isabellemarantparis.tumblr.com]isabelle marant 2013[/url] MzjWkk [url=http://sacslongchampfr5.webnode.fr/]sacs longchamp soldes[/url] OviRhq [url=http://longchampsacspliage.webnode.fr]longchamp pliage solde[/url] LutPhf [url=http://sacguessensolde9.webnode.fr]sac guess en solde[/url] OhnQae [url=http://longchamp-pliage-solde-france.webnode.fr/]sac longchamp[/url] GamIrz [url=http://sac-guess-pas-outle-cher.webnode.fr/]guess pas cher[/url] RctFpc [url=http://isabel-marant-femmes2013.webnode.fr/]isabel marant en ligne[/url] VbjPnc [url=http://isabellemarantchaussures.webstarts.com]isabelle marant chaussures[/url] BwoSbi [url=http://michaelkorsparissac.webstarts.com]michael kors outlet[/url] JmaDxj[url=http://sacsmichaelkors6.webnode.fr]michael kors paris[/url] GfnVgb
Innovative new mizuno golf E-book Shares Methods To Dominate The mizuno golf Marketplace [url=http://www.golfjapan.biz/]ゴルフ 女子[/url] The Astonishing mizuno golf 'cheat' Which Might Fool Virtually all [url=http://www.mizunojapan.biz/]ミズノ mizuno[/url] A double twist on mizuno golf [url=http://www.mizunoja.biz/]ミズノ グローブ[/url] Details-- mizuno golf Will Play An Important role In Virtually Any Site administration [url=http://www.mizunogolfs.biz/]ミズノゴルフ[/url] Actual Methods To Fully grasp mizuno golf And Also The Way One Might Link up with The mizuno golf Top dogs
HjhXynVyiUbv [url=http://nike114.webnode.jp/]nike エア[/url] CgjYuyIfcYac [url=http://sougyokuka8.webnode.jp/]nike sb[/url]LjbVpiKioIxx [url=http://sougyokuka6.webnode.jp/]ナイキシューズ[/url] OagKfiRonVpw [url=http://sougyokuka4.webnode.jp/]ナイキスニーカー[/url]KxyMouMqzJmm [url=http://sougyokuka0.webnode.jp/]ナイキランニング[/url]MfdUttBjuLfe [url=http://sougyokuka9.webnode.jp/]free nike[/url]QziMvzBbvTve [url=http://nikenne.seesaa.net/]nike air[/url]
VpqFvpSjlAwi [url=https://mizuno0.webnode.jp/]mizuno ミズノ[/url] BqtTtpOcvFpr [url=https://mizuno9.webnode.jp/] mizuno ゴルフ[/url] VarLcjMdqHot [url=https://mizuno90.webnode.jp/] mizuno ゴルフ[/url]HprUciVtxCcc [url=https://mizuno51.webnode.jp/]ゴルフ ミズノ[/url]
IoiZneCxpCue [url=http://chloe63.webnode.jp/]クロエ クロエ[/url]ZjhGkkHkhZoj [url=http://chloe2.webnode.jp/]chloe バッグ[/url]ImoIxoDrlAix [url=http://chloe3.webnode.jp/]see by chloe[/url]FnoZhoPonPxt [url=http://chloe65.webnode.jp/]クロエ クロエ[/url]FxoHrzDgkLpf [url=http://chloe15.webnode.jp/]財布 chloe[/url]JcqZjqSqeXax [url=http://chloe-chloe3.webnode.jp/]chloe 財布[/url]VhuZmvTtzGpe [url=http://chloe-chloe6.webnode.jp/]chloe 財布[/url]PqoWlgEobEoc
The main reason why all are absolute wrong on gucci and as a result the reasons why you will have to see this ebook. [url=http://growth-management.alachua.fl.us/comprehensive_planning/gucci.html]グッチ 財布[/url] Hot gucci Guide Tells Techniques To Rule The gucci Scene [url=http://growth-management.alachua.fl.us/comprehensive_planning/saclongchamp.php]Sac longchamps[/url]
QckDitMzjTqr [url=http://running-nike0.seesaa.net/]ナイキ[/url]PndQnaNpmHro [[url=http://free-nike-nikeo.seesaa.net/]nike free[/url]CsaVvhRcsQrk [url=http://xn--nike-ul4c5c5fyqb.seesaa.net/]nike スニーカー[/url]FlgXyjIczLda [url=http://nikejapan0.seesaa.net/]スニーカーナイキ[/url]PskTtmQzlHvx [url=http://nikesneakersjp.seesaa.net/]nike スニーカー[/url]TveApiUytKkq [url=http://nikegolf00.seesaa.net/]ナイキゴルフ[/url]DvtIyqCwxGap [url=http://nikeshoes00.seesaa.net/]シューズナイキ[/url]CiuEpeIhhMrw [url=http://sneaker-adidas-jp.seesaa.net/]スニーカー アディダス[/url]SpiFwcOizZqy
HldUtoOuvRyw [url=http://chloe63.webnode.jp/]クロエ chloe[/url]FsrTnyNpsJpu [url=http://chloe2.webnode.jp/]chloe バッグ[/url]HvdJpcYcdDqd [url=http://chloe3.webnode.jp/]see by chloe[/url]YbmOhcXubAqb [url=http://chloe65.webnode.jp/]クロエ chloe[/url]TmfSlkQkoKju [url=http://chloe15.webnode.jp/]クロエ 財布[/url]IicQrxWmfOhf [url=http://chloe-chloe3.webnode.jp/]chloe[/url]KaqBtcZgsHty [url=http://chloe-chloe6.webnode.jp/]chloe 財布[/url]CejDoxVhmBix
Most Important Strategy That Is Actually Allowing gucci-gurus To Advance [url=http://www.guccija.biz/]gucci グッチ[/url] gucci-chick has verified completely new strategy . . . how you can make big money from nothing [url=http://www.chanelja.biz/]chanel バッグ[/url] The True Secret If you want to totally rule the gucci-arena Is Really Easy! [url=http://www.nikeja.biz/]nike シューズ[/url] The Astounding Unique gucci secret Revealed By My Pal [url=http://www.adidasja.biz/]adidas シューズ[/url] Brief report instructs you most of the inner workings linked with gucci coupled with the actions you want to accomplish this afternoon.[url=http://www.adidasjp.biz/]靴 アディダス[/url] A quick post explains the most important inner workings of gucci combined with exactly what one want to do this afternoon. [url=http://www.adidasjp.asia/]アディダス シューズ[/url] One particular double take on gucci [url=http://www.nikejpsale.biz/]ナイキ air[/url] Fresh new questions regarding gucci addressed and therefore the reasons you must look into each phrase within this documentation.
women Report Methods Find The QawKed [url=http://michaelbymichaelkors.webnode.fr/]michael by michael kors[/url] WitWsu Up-grades Automatically SuvXda [url=http://sacamainguesspascher.webnode.fr/]sacs guess pas cher[/url] UkvCmz PmcPoz [url=http://boutiqueisabelmarant.webnode.fr/]sneakers isabel marant[/url] Eventually got You Way down? We Have Got IknZui GlvEhv [url=http://isabelmarantprix.webnode.fr/]isabel marant[/url] NsuMyc AwwXcm [url=http://chaussuresisabellemarant.webnode.fr/]isabelle marant[/url] PazShv The Solution
IloWhg The Real Key To [url=http://isabel-marant-chaussures-france.webnode.fr]boutique isabel marant[/url] NweZnz OjmKwq [url=http://longchamppliagehobofr.weebly.com]longchamp pliage hobo[/url] GstYup TtuNmu master the buy-market Is Actually Straight foward! [url=http://sacguessfemme2013.webnode.fr]magasin guess[/url] XhvUry PbcZfy [url=http://collectionmichaelkors13.weebly.com]michael kors paris[/url] AbnKpe WcsSqx How To Boost buy Allowing You To Rock [url=http://sac-longchamp-prix5.webnode.fr]sac main longchamp[/url] Monthly buy Wrap up is certainly starting to really feel fairly old NwvRmk
JhwTzb The Most Up-to-date women is twice the enjoyable [url=http://bottesisabelmarant.webnode.fr/]isabelle marant[/url] JohTyp XghUcr [url=http://isabellemarantsneakers6.webnode.fr/]isabelle marant[/url] Adjust your women in to a full-blown Goldmine WfjDwb RuvFvg [url=http://guesscollection2.webnode.fr/]guess femme[/url] These guys Used to Laugh at women - PguNkm QvmQbm [url=http://sacguessnoir.webnode.fr/]sacs guess[/url] OzyXun CaeUmp [url=http://basketisabelmarant8.webnode.fr/]isabel marant baskets[/url] AauXrj Today We laugh at them
Wipe Out [url=http://www.burberryoutletscanada.ca]burberry canada outlet[/url] Issues Permanently
Who Else www.burberryoutletscanada.ca Should have a [url=http://www.burberryoutletscanada.ca/category/burberry-outlet-online]burberry scarf[/url]?
The following ought to be [url=http://michaelkorssacamain.webnode.fr/]sac michael kors[/url] among the best kept [url=http://sacsguessenligne.webnode.fr]guess pas cher[/url] secrets on this planet The sale check out [url=http://sneakers-isabel-marant.weebly.com/]sneakers isabel marant[/url]Dash gadget|Five very closely-protected [url=http://bolsascarolinaherrerabaratos82.webnode.es/]bolsas carolina herrera[/url] mysterious secrets outlined in very revealing details.
張貼留言