Discussion:
[請教]圖片刷新的問題
(时间太久无法回复)
tony
2006-05-26 13:18:26 UTC
Permalink
µ{Š¡œX:asp.net VB
ŒÒ¶ô:²£«~žê®ÆºÞ²z
ŒÒ¶ô€º®e:
¹Ï€ù©RŠW:²£«~¬y€ôID.JPG
¹Ï€ù«OŠsŠìžm:../Image/PicPro_m/(€£¬OSQL)
¬ÛÃöµ{§ÇœX:
<asp:Image ID="Image1" runat="server" ImageUrl ='<%# "../Image/PicPro_m/" &
Eval("pro_id") & ".jpg" %>' />
°ÝÃD:
1.­×§ï²{Š³²£«~ªº¹Ï€ù
2.UPLOADŠš¥\
3.ªðŠ^²£«~LIST PAGE.µo²{­×§ï¹Ï€ùŠZªº²£«~Åã¥ÜªºÁÙ¬Oªº¹Ï€ù,»Ý­nšê·sŠZ€~Åã¥Ü
­×§ïŠZªº¹Ï€ù.

ŠpŠó€~¯à€£¥Îšê·s§Y¥i¬Ýšì­×§ïŠZªº¹Ï€ù.ÁÂÁÂ!
璉璉
2006-05-27 01:49:57 UTC
Permalink
asp.net ¬O server side ªº§Þ³N¡A­n°µšìºô­¶€º®eÅܧó¡AŽN­n³z¹L Server šÓ­«·s¿é¥X¡A€]ŽN¬O§A»¡ªºšê·s¡A±`»¡ªº postback ¡C

­n€£³z¹L server šÓ­«·s¿é¥X¡AœÐŠb­ìºô­¶Ž¡€J script šÓªœ±µÅܧó¡A¥i¬d MSDN žÌ­± DHTML ªº»¡©ú¡C

ex.
image1.src = "xxxxx"
©ó news:%23%23N1%24ESgGHA.764%40TK2MSFTNGP03.phx.gbl µoªí
µ{Š¡œX:asp.net VB
ŒÒ¶ô:²£«~žê®ÆºÞ²z
¹Ï€ù©RŠW:²£«~¬y€ôID.JPG
¹Ï€ù«OŠsŠìžm:../Image/PicPro_m/(€£¬OSQL)
<asp:Image ID="Image1" runat="server" ImageUrl ='<%# "../Image/PicPro_m/" &
Eval("pro_id") & ".jpg" %>' />
1.­×§ï²{Š³²£«~ªº¹Ï€ù
2.UPLOADŠš¥\
3.ªðŠ^²£«~LIST PAGE.µo²{­×§ï¹Ï€ùŠZªº²£«~Åã¥ÜªºÁÙ¬Oªº¹Ï€ù,»Ý­nšê·sŠZ€~Åã¥Ü
­×§ïŠZªº¹Ï€ù.
ŠpŠó€~¯à€£¥Îšê·s§Y¥i¬Ýšì­×§ïŠZªº¹Ï€ù.ÁÂÁÂ!
--
­·¬ê¬ì§ÞÅçÃÒŠ³­­€œ¥q ASP.NET Web News Reader 0.2.2 UTF-8 Beta
ºô¯žŠa¹Ï http://tlcheng.no-ip.com/wwwmap.htm
¬y°ìšŸ¬x/°Ï°ì€ôžê·œ/®}ª@ºô/ªŽºÀ¹Ï/»y­µ³q°T €å³¹»Pµ{Š¡
Basic/Fortran/Windows API/.Net/»²§U»¡©úÀÉ ­ì©lœX¡B€å³¹»P°Qœ×
--
ASPNET News http://tlcheng.no-ip.com/News/ | http://tlcheng.twbbs.org/News/
RSS 2.0 http://tlcheng.no-ip.com/News/rss2.aspx?Action=List&Newsgroup=microsoft.public.tw.dotnet.framework.aspnet
tony
2006-05-28 13:14:19 UTC
Permalink
±zŠn!
ÁÂÁ±zªºŠ^Ž_.Šý§Ú€@ªœ§ä€£šì¬ÛÃö¥NœX.€£ªŸ¹D±z¥i§_Ž£šÑ.ÁÂÁÂ!

·P®Š
Post by 璉璉
asp.net ¬O server side ªº§Þ³N¡A­n°µšìºô­¶€º®eÅܧó¡AŽN­n³z¹L Server šÓ­«·s
¿é¥X¡A€]ŽN¬O§A»¡ªºšê·s¡A±`»¡ªº postback ¡C
Post by 璉璉
­n€£³z¹L server šÓ­«·s¿é¥X¡AœÐŠb­ìºô­¶Ž¡€J script šÓªœ±µÅܧó¡A¥i¬d MSDN žÌ
­± DHTML ªº»¡©ú¡C
Post by 璉璉
ex.
image1.src = "xxxxx"
©ó news:%23%23N1%24ESgGHA.764%40TK2MSFTNGP03.phx.gbl µoªí
µ{Š¡œX:asp.net VB
ŒÒ¶ô:²£«~žê®ÆºÞ²z
¹Ï€ù©RŠW:²£«~¬y€ôID.JPG
¹Ï€ù«OŠsŠìžm:../Image/PicPro_m/(€£¬OSQL)
<asp:Image ID="Image1" runat="server" ImageUrl ='<%#
"../Image/PicPro_m/" &
Post by 璉璉
Eval("pro_id") & ".jpg" %>' />
1.­×§ï²{Š³²£«~ªº¹Ï€ù
2.UPLOADŠš¥\
3.ªðŠ^²£«~LIST PAGE.µo²{­×§ï¹Ï€ùŠZªº²£«~Åã¥ÜªºÁÙ¬Oªº¹Ï€ù,»Ý­nšê·sŠZ€~
Åã¥Ü
Post by 璉璉
­×§ïŠZªº¹Ï€ù.
ŠpŠó€~¯à€£¥Îšê·s§Y¥i¬Ýšì­×§ïŠZªº¹Ï€ù.ÁÂÁÂ!
--
­·¬ê¬ì§ÞÅçÃÒŠ³­­€œ¥q ASP.NET Web News Reader 0.2.2 UTF-8 Beta
ºô¯žŠa¹Ï http://tlcheng.no-ip.com/wwwmap.htm
Basic/Fortran/Windows API/.Net/»²§U»¡©úÀÉ ­ì©lœX¡B€å³¹»P°Qœ×
--
ASPNET News http://tlcheng.no-ip.com/News/ |
http://tlcheng.twbbs.org/News/
Post by 璉璉
RSS 2.0
http://tlcheng.no-ip.com/News/rss2.aspx?Action=List&Newsgroup=microsoft.publ
ic.tw.dotnet.framework.aspnet
璉璉
2006-05-28 14:46:38 UTC
Permalink
ŠpªG§AªºÀÉŠW¬O¬ÛŠPªº¡A§Ú€§«eŠ³ÂI·|¿ù·N¡AœÐ±N§A img «á­±ªºžô®|²M±ŒŠA­«·sžü€J¡C

§AŠpªGªŸ¹DŠpŠóŒ¶Œg DHTML ¡G
ex.

sub window_onload
oldPath = image1.src
image1.src = ""
image1.src = oldPath
end sub

³o¬O§Q¥Î²MªÅšÓ­nšD­«·sžü€J¡A·íµM­«·sžü€J€ŽµMŠ³¥i¯à¬O±qµwºÐ§ÖšúŪšú¡C

§ÚŠÛ€v°µºô­¶¹ÏÀɺ޲z¥\¯à®É¡A§ÚŠL¶H€€€]·|­«·sŪšú... Šn¹³šS§A³o­Ó°ÝÃD¡C
http://spaces.msn.com/tlcheng/blog/cns!145419920BFD55A7!744.entry
©ó news:e3iM1jlgGHA.4864%40TK2MSFTNGP05.phx.gbl µoªí
±zŠn!
·P®Š
Post by 璉璉
asp.net ¬O server side ªº§Þ³N¡A­n°µšìºô­¶€º®eÅܧó¡AŽN­n³z¹L Server šÓ­«·s
¿é¥X¡A€]ŽN¬O§A»¡ªºšê·s¡A±`»¡ªº postback ¡C
Post by 璉璉
­n€£³z¹L server šÓ­«·s¿é¥X¡AœÐŠb­ìºô­¶Ž¡€J script šÓªœ±µÅܧó¡A¥i¬d MSDN žÌ
­± DHTML ªº»¡©ú¡C
Post by 璉璉
ex.
image1.src = "xxxxx"
©ó news:%23%23N1%24ESgGHA.764%40TK2MSFTNGP03.phx.gbl µoªí
µ{Š¡œX:asp.net VB
ŒÒ¶ô:²£«~žê®ÆºÞ²z
¹Ï€ù©RŠW:²£«~¬y€ôID.JPG
¹Ï€ù«OŠsŠìžm:../Image/PicPro_m/(€£¬OSQL)
<asp:Image ID="Image1" runat="server" ImageUrl ='<%#
"../Image/PicPro_m/" &
Post by 璉璉
Eval("pro_id") & ".jpg" %>' />
1.­×§ï²{Š³²£«~ªº¹Ï€ù
2.UPLOADŠš¥\
3.ªðŠ^²£«~LIST PAGE.µo²{­×§ï¹Ï€ùŠZªº²£«~Åã¥ÜªºÁÙ¬Oªº¹Ï€ù,»Ý­nšê·sŠZ€~
Åã¥Ü
Post by 璉璉
­×§ïŠZªº¹Ï€ù.
ŠpŠó€~¯à€£¥Îšê·s§Y¥i¬Ýšì­×§ïŠZªº¹Ï€ù.ÁÂÁÂ!
--
­·¬ê¬ì§ÞÅçÃÒŠ³­­€œ¥q ASP.NET Web News Reader 0.2.2 UTF-8 Beta
ºô¯žŠa¹Ï http://tlcheng.no-ip.com/wwwmap.htm
¬y°ìšŸ¬x/°Ï°ì€ôžê·œ/®}ª@ºô/ªŽºÀ¹Ï/»y­µ³q°T €å³¹»Pµ{Š¡
Basic/Fortran/Windows API/.Net/»²§U»¡©úÀÉ ­ì©lœX¡B€å³¹»P°Qœ×
--
ASPNET News http://tlcheng.no-ip.com/News/ | http://tlcheng.twbbs.org/News/
RSS 2.0 http://tlcheng.no-ip.com/News/rss2.aspx?Action=List&Newsgroup=microsoft.public.tw.dotnet.framework.aspnet
tony
2006-06-02 01:16:10 UTC
Permalink
ÁÂÁÂ...§Ú€wžgžÑšM€F..

HTTPŒÐÃD

±Ò¥Î€º®ešìŽÁ­­šî->§Y±NšìŽÁ.


ŠbIIS€€ªº¥Ø¿ý€W³]©w->€º®e
Post by 璉璉
ŠpªG§AªºÀÉŠW¬O¬ÛŠPªº¡A§Ú€§«eŠ³ÂI·|¿ù·N¡AœÐ±N§A img «á­±ªºžô®|²M±ŒŠA­«·sžü
€J¡C
Post by 璉璉
§AŠpªGªŸ¹DŠpŠóŒ¶Œg DHTML ¡G
ex.
sub window_onload
oldPath = image1.src
image1.src = ""
image1.src = oldPath
end sub
³o¬O§Q¥Î²MªÅšÓ­nšD­«·sžü€J¡A·íµM­«·sžü€J€ŽµMŠ³¥i¯à¬O±qµwºÐ§ÖšúŪšú¡C
§ÚŠÛ€v°µºô­¶¹ÏÀɺ޲z¥\¯à®É¡A§ÚŠL¶H€€€]·|­«·sŪšú... Šn¹³šS§A³o­Ó°ÝÃD¡C
http://spaces.msn.com/tlcheng/blog/cns!145419920BFD55A7!744.entry
©ó news:e3iM1jlgGHA.4864%40TK2MSFTNGP05.phx.gbl µoªí
±zŠn!
·P®Š
Post by 璉璉
asp.net ¬O server side ªº§Þ³N¡A­n°µšìºô­¶€º®eÅܧó¡AŽN­n³z¹L Server šÓ
­«·s
Post by 璉璉
¿é¥X¡A€]ŽN¬O§A»¡ªºšê·s¡A±`»¡ªº postback ¡C
Post by 璉璉
­n€£³z¹L server šÓ­«·s¿é¥X¡AœÐŠb­ìºô­¶Ž¡€J script šÓªœ±µÅܧó¡A¥i¬d
MSDN žÌ
Post by 璉璉
­± DHTML ªº»¡©ú¡C
Post by 璉璉
ex.
image1.src = "xxxxx"
©ó news:%23%23N1%24ESgGHA.764%40TK2MSFTNGP03.phx.gbl µoªí
µ{Š¡œX:asp.net VB
ŒÒ¶ô:²£«~žê®ÆºÞ²z
¹Ï€ù©RŠW:²£«~¬y€ôID.JPG
¹Ï€ù«OŠsŠìžm:../Image/PicPro_m/(€£¬OSQL)
<asp:Image ID="Image1" runat="server" ImageUrl ='<%#
"../Image/PicPro_m/" &
Post by 璉璉
Eval("pro_id") & ".jpg" %>' />
1.­×§ï²{Š³²£«~ªº¹Ï€ù
2.UPLOADŠš¥\
3.ªðŠ^²£«~LIST PAGE.µo²{­×§ï¹Ï€ùŠZªº²£«~Åã¥ÜªºÁÙ¬Oªº¹Ï€ù,»Ý­nšê·s
ŠZ€~
Post by 璉璉
Åã¥Ü
Post by 璉璉
­×§ïŠZªº¹Ï€ù.
ŠpŠó€~¯à€£¥Îšê·s§Y¥i¬Ýšì­×§ïŠZªº¹Ï€ù.ÁÂÁÂ!
--
­·¬ê¬ì§ÞÅçÃÒŠ³­­€œ¥q ASP.NET Web News Reader 0.2.2 UTF-8 Beta
ºô¯žŠa¹Ï http://tlcheng.no-ip.com/wwwmap.htm
Basic/Fortran/Windows API/.Net/»²§U»¡©úÀÉ ­ì©lœX¡B€å³¹»P°Qœ×
--
ASPNET News http://tlcheng.no-ip.com/News/ |
http://tlcheng.twbbs.org/News/
Post by 璉璉
RSS 2.0
http://tlcheng.no-ip.com/News/rss2.aspx?Action=List&Newsgroup=microsoft.publ
ic.tw.dotnet.framework.aspnet
璉璉
2006-06-02 09:14:14 UTC
Permalink
©ó news:OrGS6JehGHA.3296%40TK2MSFTNGP05.phx.gbl µoªí
ÁÂÁÂ...§Ú€wžgžÑšM€F..
HTTPŒÐÃD
±Ò¥Î€º®ešìŽÁ­­šî->§Y±NšìŽÁ.
ŠbIIS€€ªº¥Ø¿ý€W³]©w->€º®e
Post by 璉璉
ŠpªG§AªºÀÉŠW¬O¬ÛŠPªº¡A§Ú€§«eŠ³ÂI·|¿ù·N¡AœÐ±N§A img «á­±ªºžô®|²M±ŒŠA­«·sžü
€J¡C
Post by 璉璉
§AŠpªGªŸ¹DŠpŠóŒ¶Œg DHTML ¡G
ex.
sub window_onload
oldPath = image1.src
image1.src = ""
image1.src = oldPath
end sub
³o¬O§Q¥Î²MªÅšÓ­nšD­«·sžü€J¡A·íµM­«·sžü€J€ŽµMŠ³¥i¯à¬O±qµwºÐ§ÖšúŪšú¡C
§ÚŠÛ€v°µºô­¶¹ÏÀɺ޲z¥\¯à®É¡A§ÚŠL¶H€€€]·|­«·sŪšú... Šn¹³šS§A³o­Ó°ÝÃD¡C
http://spaces.msn.com/tlcheng/blog/cns!145419920BFD55A7!744.entry
©ó news:e3iM1jlgGHA.4864%40TK2MSFTNGP05.phx.gbl µoªí
±zŠn!
·P®Š
Post by 璉璉
asp.net ¬O server side ªº§Þ³N¡A­n°µšìºô­¶€º®eÅܧó¡AŽN­n³z¹L Server šÓ
­«·s
Post by 璉璉
¿é¥X¡A€]ŽN¬O§A»¡ªºšê·s¡A±`»¡ªº postback ¡C
Post by 璉璉
­n€£³z¹L server šÓ­«·s¿é¥X¡AœÐŠb­ìºô­¶Ž¡€J script šÓªœ±µÅܧó¡A¥i¬d
MSDN žÌ
Post by 璉璉
­± DHTML ªº»¡©ú¡C
Post by 璉璉
ex.
image1.src = "xxxxx"
©ó news:%23%23N1%24ESgGHA.764%40TK2MSFTNGP03.phx.gbl µoªí
µ{Š¡œX:asp.net VB
ŒÒ¶ô:²£«~žê®ÆºÞ²z
¹Ï€ù©RŠW:²£«~¬y€ôID.JPG
¹Ï€ù«OŠsŠìžm:../Image/PicPro_m/(€£¬OSQL)
<asp:Image ID="Image1" runat="server" ImageUrl ='<%#
"../Image/PicPro_m/" &
Post by 璉璉
Eval("pro_id") & ".jpg" %>' />
1.­×§ï²{Š³²£«~ªº¹Ï€ù
2.UPLOADŠš¥\
3.ªðŠ^²£«~LIST PAGE.µo²{­×§ï¹Ï€ùŠZªº²£«~Åã¥ÜªºÁÙ¬Oªº¹Ï€ù,»Ý­nšê·s
ŠZ€~
Post by 璉璉
Åã¥Ü
Post by 璉璉
­×§ïŠZªº¹Ï€ù.
ŠpŠó€~¯à€£¥Îšê·s§Y¥i¬Ýšì­×§ïŠZªº¹Ï€ù.ÁÂÁÂ!
--
­·¬ê¬ì§ÞÅçÃÒŠ³­­€œ¥q ASP.NET Web News Reader 0.2.2 UTF-8 Beta
ºô¯žŠa¹Ï http://tlcheng.no-ip.com/wwwmap.htm
¬y°ìšŸ¬x/°Ï°ì€ôžê·œ/®}ª@ºô/ªŽºÀ¹Ï/»y­µ³q°T €å³¹»Pµ{Š¡
Basic/Fortran/Windows API/.Net/»²§U»¡©úÀÉ ­ì©lœX¡B€å³¹»P°Qœ×
--
ASPNET News http://tlcheng.no-ip.com/News/ | http://tlcheng.twbbs.org/News/
RSS 2.0 http://tlcheng.no-ip.com/News/rss2.aspx?Action=List&Newsgroup=microsoft.public.tw.dotnet.framework.aspnet
Loading...