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

ASP.NET Image¿Ø¼þÎÊÌâ - .NET¼¼Êõ / ASP.NET

ÎÒÏÖÔÚÓиöÐèÇóÊÇÔÚ·þÎñÆ÷ÉÏСͼƴÕÅ´óͼȻºó¸øÓû§ä¯ÀÀÏÂÕâÕÅ´óͼ
ÔÚ·þÎñÆ÷ÉϵÄImageURLÊDz»±äµÄͼƬÄÚÈÝÊǸıäµÄ
ÎÊÌâÊÇÕâÑùµÄͼƬµÄÄÚÈݸıäÁË¿ÉÊÇÏÔʾÔÚÒ³ÃæÉϵÄͼƬÄÚÈÝÈ´ÊÇ֮ǰµÄÄÇÕÅͼƬÄÚÈÝ
´úÂ룺
  protected void Page_Load(object sender, EventArgs e)
  {
  //if (Session["stuPracAppPicCount"] == null || Session["stuPracAppPicCount"].ToString() == "0")
  //{
  // Response.Write(@"<script>alert('ÉÐδÉÏ´«µ¥ÕÅͼƬÎÞ·¨Ô¤ÀÀ,ÇëÏÈÉÏ´«Í¼Æ¬')</script>");
  // Response.Write(@"<script>window.location='../Default2.aspx'</script>");
  //}
  //else
  //{
  //°à¼¶ID
  string clsId = Request.QueryString["stuClsId"].ToString();

  //ѧºÅ
  string stuNum = Request.QueryString["stuNum"].ToString();

  //¹«Ë¾ID
  string compId = Request.QueryString["compId"].ToString();

  string grade = stuBLL.GetClassGrade(clsId);

  try
  {
  if (File.Exists(Server.MapPath("../PracStuAppPic/" + grade + "/" + stuNum + "_" + compId + ".jpg")))
  {
  File.Delete(Server.MapPath(&q


Ïà¹ØÎÊ´ð£º

ASPα¾²Ì¬ - Web ¿ª·¢ / ASP

aspÐéÄâÖ÷»úʵÏÖα¾²Ì¬µÄ·½·¨£º
1¡¢ ÖØдurl²ÎÊý
Step1: ½¨Á¢Ç°Ì¨Îļþindex.asp£¬ÐÞ¸Äurl²ÎÊýÐÎʽ¡£ÓÉÓÚ¶ÁÈ¡Êý¾Ý¿âÖеļǼ²»ÊÇרÌâµÄÖص㣬¹ÊÖ±½Ó¸ø³ö:
<!--#include file="config.asp" -->
&l ......

asp.netµ¼³öEXCELÎÊÌ⣡ - .NET¼¼Êõ / ASP.NET

C# code:

SqlConnection conn = CsDB.sqlcon();
SqlDataAdapter da = new SqlDataAdapter("select fwCoding from bjmuma_fwCoding where OrderNumber='" + Order + & ......

js¿ØÖÆasp¿Õ¼ädropdownlist - .NET¼¼Êõ / ASP.NET

ÎÒÓÐÁ½¸ödropdownlist¶¼°óºÃÁËÖµ£¬ÏëÑ¡ÖÐÒ»¸ödropdownlistÖеÄÖµ£¬È»ºóÔÚÁíÒ»¸ödropdownlistÖÐÑ¡ÖÐÏàÓ¦µÄÒ»Ïî¡£
²»ÊÇ´Óа󶨵ڶþ¸ödropdownlist£¬ÊÇÔÚÒѾ­°óºÃµÄÖµµ±ÖÐÑ¡ÖÐÒ»¸ö¡£
ÎÒÏëÓÃjsд
ÇóÖú
Äã¿ÉÒÔ°Ñdrop ......

asp.netÈçºÎÌá¸ß·ÃÎÊËÙ¶È - .NET¼¼Êõ / ASP.NET

ÎÒ×î½ü×öÁËÒ»¸öÍøÕ¾ÊǹØÓÚ²úƷչʾµÄ ~ Õû¸öÍøվͼƬ¶¼Õ¼ÓÃÁËÒ»´ó°ë  
ÕâÑùµÄ»°·ÃÎÊËٶȾͷdz£Âý ÓÐʲô°ì·¨¿ÉÒÔ½â¾öÂð£¿
Âé·³´ó¼Ò¶à¶à¸øµãÒâ¼û £¡ ÓÐʲô¾¡¹Ü˵ 
3Q´ó¼Ò
htmlÒ³Ãæ.

Õâ¸ö,¼ÈÈ»Ö÷Ò ......

asp.net ÏÂÔØ - .NET¼¼Êõ / ASP.NET

sqlserverµÄÊý¾Ý¿â£¬×Ö¶ÎÊÇimageÀàÐ͵ġ£Ôõôд´úÂ룬ÔÚÒ³ÃæÖеã»÷¡°ÏÂÔØ¡±¾ÍÄÜ´ò¿ªÄǸöÏÂÔضԻ°¿ò£¿
PS£ºOracleLob ÔÚsqlserverÀïÊÇʲô£¿
Response.Redirect("test.jpg")

ÒýÓÃ
Response.Redirect( ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ