³on¬Ý§A client ºÝªºÀ³¥Î¡AšÒŠp¥H€åŠrÀÉšÓ»¡¡A€j³¡€À¥Î ANSI œsœX¡A§A³oÃä¥Î utf-8 œsœX¡C
Y¬O csv ®æŠ¡¡A«h Excel €£ŠY utf-8 œsœX¡C
©ó news:4560011B-6C54-4521-A8D0-C6B1DCED88D1%40microsoft.com µoªí
ÁÂÁ§Aªºì©lÀÉ §Ú·|copy€UšÓ¬ãšs
€£¹L§Úè€~€SŒg€F·sªº Šp€U
Response.AppendHeader("Content-Disposition",
"attachment;filename=test" & Format(Now, "HHmmss") & ".text")
Response.ContentEncoding =
System.Text.Encoding.GetEncoding("UTF-8")
Response.ContentType = "text/plain"
Response.Write("11111d15" & "111113" & "A " & "" &
Select1.Value & "" & "0" & "" & cmdSql.ExecuteScalar & " ")
Response.End()
¥H³oŒËªº€èªk¥i¥HŠR¥X€åŠrÀÉ¡AšÃ¥B¬OŠsŠbclientºÝ
€£ªŸ¹DÂæ€lŠ³šSŠ³·å²« ÁÂÁÂ.....
"æ£æ£" šÓšç¡G
Post by çç....
³Ì€U± ResponseFile.aspx ÂI€U¥hŠ³ì©lœX¡C
©ó news:32AA5FC7-9FA5-43F7-8547-4C0834DB9A65%40microsoft.com µoªí
§Ú¬Ý§A³o€èªk Š³ResponseFileªº¥Îªk¶Ü?
ÁÂÁ§Aªº«Øij....
"æ£æ£" šÓšç¡G
Post by çç©Ò¥H€~»¡¥uŠ³ÅýšÏ¥ÎªÌšM©w¬O§_€Užü¡AšÒŠp¡G
http://tlcheng.twbbs.org/TLCheng/Net/NetList.aspx?Action=Function&Module=8&Function=43
©ó news:4DA9ED03-D5BC-40C8-B2EE-09C0BF1EA01D%40microsoft.com µoªí
§Ú«ášÓµo²{ Âæ€l¬O§âªFŠè©ñŠbserver ¥i¬O§Ú·Q±NªFŠè©ñŠbclientªº¹qž£
©Ò¥H§ÚnŽ«§OºØ€èŠ¡šÓŠR¥XšÓ...
ŽN¬O¥Îresponse.ContentType ="text/plain"ªº€èŠ¡¶Ü
¬OÂæ€l¶Ü??? §í©Î¬OŠ³§OºØªº€èªk....
ÁÂÁŠ^µª...................
"æ£æ£" šÓšç¡G
Post by ççServer µLªk±jšîŒg€JšÏ¥ÎªÌºÝªº¹qž£¡A¥u¯àÅýšÏ¥ÎªÌšM©w¬O§_€UžüÀɮסC
©Ò¥H€£¥ÎºÞšÏ¥ÎªÌºÝªº¹qž£¡AŠ]¬°§A®Ú¥»€£³Q€¹³\Œg€J¡C
©ó news:2529CCBF-A866-4862-9036-C7704AD3B626%40microsoft.com µoªí
§Ú¥ÎŠp€Uªº€èªk¥i¿é¥XŠš€åŠrÀÉ¡AšÃ¥iŒg¶i¥h
Dim FilePath = "c:\sample" & Format(Now, "HHmmss") & ".txt"
Dim sw As StreamWriter
sw = File.AppendText(FilePath)
sw.Write("11111d15" & "111113" & "A " & "" & Select1.Value &
"" & "0" & "" & cmdSql.ExecuteScalar & " ")
sw.close()
¥i¬O³oÓŠ³žjÅv Š]Š¹§ÚŠbcžÌ±¥[€J€FASPNETªºÅv ŽN¥i¥H€F
¥i¬OŠpªG§ÚšSŠ³¥[ÅvªºžÜ ŽN·|µo¥Í©ÚµŽŠsšú
Š]¬°§Ú³oӳ̫á·|¿é¥Xšìuserªº¹qž£ Á`€£¯à€]¥suserªºc€]¥[€JÅv
©Ò¥H·Q»¡Š³šSŠ³§Oªº€èªk¥iÁקKÂæ€lªº±¡ªp
ÁÂÁÂ
--
·¬ê¬ì§ÞÅçÃÒŠ³€œ¥q ASP.NET Web News Reader 0.2.5 UTF-8 Beta
ºô¯žŠa¹Ï http://tlcheng.twbbs.org/wwwmap.htm
¬y°ìšŸ¬x/°Ï°ì€ôžê·œ/®}ª@ºô/ªŽºÀ¹Ï/»yµ³q°T €å³¹»Pµ{Š¡
Basic/Fortran/Windows API/.Net/»²§U»¡©úÀÉ ì©lœX¡B€å³¹»P°Qœ×
·L³nµ{Š¡³]p¡Bšt²ÎºÞ²zšÏ¥Î·s§Þ³Nœ×ŸÂ°Qœ×°Ï¡Aºô€ÍŠ^ÂЫá§Y®É²°T¡B¹q€l¶l¥ó³qªŸ¡G
MSDN: http://forums.microsoft.com/msdn-cht/default.aspx?siteid=14
TechNet: http://forums.microsoft.com/technet-cht/default.aspx?siteid=23
--
ASPNET News Reader http://tlcheng.twbbs.org/News/Reader.aspx
RSS 2.0 http://tlcheng.twbbs.org/News/rss2.aspx?Action=List&Newsgroup=microsoft.public.tw.dotnet.framework.aspnet