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

asp.netÏÂÐÞ¸ÄÎļþϵͳ´øÀ´µÄ¸±×÷Óü°Æä½â¾ö·½·¨

    ½ñÌìµÄÈÎÎñÊÇÄܹ»ÔÚasp.netϽ¨Á¢Îļþϵͳ£¬Ò²¾ÍÊÇÄܹ»ÔÚasp.netµÄÐéÄâĿ¼Ï½¨Á¢Îļþ¼Ð¡¢Îļþ¡¢ÐÞ¸ÄÎļþ¼Ð¡¢Îļþ¡¢É¾³ýÎļþ¼Ð¡¢ÎļþµÈ¡£½¨Á¢Îļþ¼Ð¡¢ÎļþºÜ˳Àû£¬Ã»ÓÐÓöµ½ÈκÎÎÊÌ⣬ֱ½ÓÓÃDirectory¾²Ì¬Àà¾Í¿ÉÒÔ×öÁË¡£
    µ«ÊÇ£¬ÔÚɾ³ý¡¢ÐÞ¸ÄÎļþ¼Ð¼°ÎļþµÄʱºòÓöµ½ÁËÆæ¹ÖµÄÎÊÌ⣺ÿ´Î²Ù×÷ÒÔºóSession¶¼»á±»Çå¿Õ£¬ÉÏÍøÒ»ËÑ£¬·¢ÏÖÊÇasp.net¼à¿ØÎļþϵͳÔì³ÉµÄ£ºÒ»µ©asp.netµÄÐéÄâĿ¼ÏÂÓÐɾ³ý»ò¸Ä¶¯ÎļþϵͳµÄ¶¯×÷ʱ£¬asp.net¾Í»áÖØÐÂÆô¶¯¡£²»½ö½öÊÇSessionûÓÐÁË¡£
    ÍøÉÏÒ²Óнâ¾ö·½·¨£¬¾ÍÊÇдµ½±¾µØCookiesÀïÃ棬ȻºóÏ´ÎÔÙ¶Á¡£ÎÒ¸öÈ˲»ÊǺÜϲ»¶ÓÃCookies£¬³ýÁËLoginºÍÆäËüһЩÐèÒª³¤Ê±¼äÐèÒª±£´æµÄÄÚÈÝ£¬²»¿ÉÄÜÈκÎÊý¾ÝÒòΪSessionÒªÇå³ý¾Í²»ÓÃSessionÁË¡£ÎÒÔÚSQL ServerÉÏдÁËÈý¸ö´æ´¢¹ý³Ì“userp_select_session_with_username_and_time","userp_insert_session","userp_delete_session_with_username"¡£
    ÔÚ±àд³ÌÐòµÄʱºò£¬µ±ÐèÒª¶ÔÎļþϵͳ½øÐвÙ×÷µÄʱºò£¬Ê×ÏȽ«Óû§µÄSessionÊý¾Ý´æÈëÊý¾Ý¿â£¬È»ºóÔÙ¶ÔÎļþϵͳ½øÐвÙ×÷£¬µÈÒ³ÃæˢеÄʱºò£¬Èç¹ûSessionÖÐûÓÐÔªËØ£¬¾Í´ÓÊý¾Ý¿âÖвéѯ£¬¸ù¾Ýtime£¬Ò»°ãÉ趨Ϊ15·ÖÖÓ£¬Èç¹ûÊǺ̵ܶÄʱ¼ä¼ä¸ô£¬¾Í½«Session´ÓÊý¾Ý¿âÖÐÌá³ö²¢·ÅÈëSessionÖУ¬Èç¹û´óÓÚ¸Ãʱ¼ä¼ä¸ô£¬¾Íͨ¹ý³ÌÐò±¾ÉíµÄSessionĬÈÏÊý¾Ý¶ÔSession½øÐгõʼ»¯¡£¸öÈ˸оõÕâÑù±È½ÏºÏÀí¡£
    Èç¹û´ó¼ÒÓÐÆäËü¸üºÃµÄÏë·¨£¬»¶Ó­ÌÖÂÛ¡£


Ïà¹ØÎĵµ£º

asp.netÏÂʵÏÖÎļþÉÏ´«µ½·þÎñÆ÷

   string filepath = FileUpload1.FileName;                                        &nb ......

asp.net¶¯Ì¬ÉèÖÃWebServiceÒýÓÃ

ÓÐʱºòÐèÒª¶¯Ì¬µÄÉèÖà WebService µÄÖ·£¬ÕâÑù·¢²¼µ½²»Í¬µÄ·þÎñÆ÷ʱ¾ÍÒªÖØÐÂÉú³É£¬Îª´ËÎÒÃÇÐèÒªÔÚweb.configÖж¯Ì¬ÅäÖÃWebServiceµÄµØÖ·£¬ÔÚÍøÉϲéÁ˺ܶà×ÊÁÏ£¬ÆäÖÐÕâÖÖ·½·¨¸Ð¾õºÜºÃÓÃÒ²ºÜºÃʵÏÖ£¬Ô­ÎÄVB.NETʵÏÖ¡£±¾ÈËÒѸÄΪC#°æ
¡¡¡¡Ê×ÏÈÊÖ¶¯µÄÌí¼ÓÒ»¸öWebÒýÓã¨Õâ¸ö¾Í²»ÓÃ˵ÁË°É£©
¡¡¡¡È»ºóÐ޸ı¾µØµÄ´úÀíÀࣨÌí¼ÓÒ»¸öÐ ......

ASP.Net ¶àͼƬÉÏ´«£¨¿ÉÑéÖ¤£©

1:¿Í»§Ò³Ãæ
 
 
 <%@ Page Language="C#" MasterPageFile="~/Admin/admin.master" AutoEventWireup="true" CodeFile="AddProductPhoto.aspx.cs" Inherits="Admin_AddProductPhoto" Title="Untitled Page" %>
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neut ......

Asp.netÖÐDataBinder.EvalÓ÷¨µÄ×ܽá

eval()·½·¨ÔÚÔËÐÐʱʹÓ÷´ÉäÖ´ÐкóÆڰ󶨼ÆË㣬Òò´ËÓë±ê×¼µÄASP.NETÊý¾Ý°ó¶¨·½·¨bindÏà±È£¬»áµ¼ÖÂÐÔÄÜÃ÷ÏÔϽµ¡£ËüÒ»°ãÓÃÔÚ°ó¶¨Ê±ÐèÒª¸ñʽ»¯×Ö·û´®µÄÇé¿öÏ¡£¶àÊýÇé¿ö¾¡Á¿ÉÙÓô˷½·¨
Eval ·½·¨ÊǾ²Ì¬£¨Ö»¶Á£©·½·¨£¬¸Ã·½·¨²ÉÓÃÊý¾Ý×ֶεÄÖµ×÷Ϊ²ÎÊý²¢½«Æä×÷Ϊ×Ö·û´®·µ»Ø¡£Bind ·½·¨Ö§³Ö¶Á/д¹¦ÄÜ£¬¿ÉÒÔ¼ìË÷Êý¾Ý°ó¶¨¿Ø¼þµÄÖ ......

Asp.netÖÐ×Ô¶¨Òå¿Ø¼þÒýÓÃjavascriptÖеÄÈÕÀú½Å±¾ÐĵÃ


×Ô¶¨Òå¿Ø¼þÖеÄÒ³Ãæ´úÂ룺
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="wcontrol.ascx.cs" Inherits="wcontrol" %>
<script type ="text/javascript">
function PopupCalendar(InstanceName)
{
///Global Tag
this.instanceName=InstanceName;
///Properties
this.separator="-"
t ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ