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

¹ØÓÚasp.netÒ»ÖÖʵÏÖÑéÖ¤ÂëµÄ¼òµ¥·½·¨

ÏÂÃæÊÇÓÃÀ´²âÊÔÑéÖ¤ÂëµÄǰ̨ÏÔʾ´úÂ룺ÆäÖнű¾º¯ÊýchangeµÄ×÷ÓÃÊÇʵÏÖ“¿´²»Çå³þ£¬»»Ò»ÕŵÄЧ¹û”
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CheckTest.aspx.cs" Inherits="SecurityCodeTest.CheckTest" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title></title>
<mce:script type="text/javascript" ><!--
function Change() {
var d = document.getElementById("image1");
d.src = d.src + '?';
}

// --></mce:script>
</head>
<body>
<form id="form1" runat="server">
<img src="MyCode.aspx" mce_src="MyCode.aspx" id="image1" /><asp:LinkButton ID="link1" runat="server" Text="¿´²»Ç壬»»Ò»ÕÅ" OnClientClick="Change()"></asp:LinkButton>
<div><br />
<asp:TextBox ID="input1" runat="server"></asp:TextBox>
<asp:Button ID="button1" runat="server" Text="submit" onclick="button1_Click" />
</div>
</form>
</body>
</html>

ÏÂÃæÊÇÓÃÀ´Éú³ÉÑéÖ¤ÂëͼƬµÄaspxÎļþ´úÂ룺
 using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Drawing;
using System.Drawing.Imaging;
namespace SecurityCodeTest
{
public partial class MyCode1 : System.Web.UI.Page
{
private int _imageWidth = 88;//λͼ¿í¶È
private int _imageHeight = 25;//λͼ¸ß¶È
private Bitmap _bitmap = null;//λͼ¶ÔÏó
private List<Brush> _colorList = null;//ÑÕÉ«µÄÒ»¸öÁбí
private char[] _charGroup = null;//×Ö·ûÊý×é
private string fontFamily = "Times New Roman";
/// <summary>
/// Ëæ»ú»ñÈ¡×ÖÌå´óС
/// </summary>
/// <returns></


Ïà¹ØÎĵµ£º

ASP.NET ʹÓà XmlDataSource ¿Ø¼þɸѡÊý¾Ý


      ¿Éͨ¹ý½« XmlDataSource ¿Ø¼þµÄ XPath ÊôÐÔÉèÖÃΪ XPath ɸѡ±í´ïʽ£¬À´É¸Ñ¡¸Ã¿Ø¼þ¹«¿ªµÄ XML Êý¾Ý¡£Èç¹ûÒÑÖ¸¶¨¿ÉÀ©Õ¹Ñùʽ±íÓïÑÔ (XSL) Ñùʽ±íÀ´×ª»» XmlDataSource ¿Ø¼þ¹«¿ªµÄÊý¾Ý£¬ÔòÔÚת»»ºó»áÓ¦Óà XPath ɸѡ±í´ïʽ¡£
ÏÂÃæµÄ´úÂëʾÀýÑÝʾ°ó¶¨µ½ TreeView ¿Ø¼þµÄ XmlDataSource ¿Ø¼þ¡ ......

ASP.NET SiteMapPath Web ·þÎñÆ÷¿Ø¼þ¸ÅÊö

 
      SiteMapPath ¿Ø¼þ°üº¬À´×ÔÕ¾µãµØͼµÄµ¼º½Êý¾Ý¡£´ËÊý¾Ý°üÀ¨ÓйØÍøÕ¾ÖеÄÒ³µÄÐÅÏ¢£¬Èç URL¡¢±êÌ⡢˵Ã÷ºÍµ¼º½²ã´Î½á¹¹ÖеÄλÖá£Èô½«µ¼º½Êý¾Ý´æ´¢ÔÚÒ»¸öµØ·½£¬Ôò¿ÉÒÔ¸ü·½±ãµØÔÚÍøÕ¾µÄµ¼º½²Ëµ¥ÖÐÌí¼ÓºÍɾ³ýÏî¡£
 
ÏÂÃæµÄ´úÂëʾÀýÑÝʾ°üº¬ÔÚ Web.sitemap ÎļþÖеÄÕ¾µãµØͼÊý¾Ý¡£ ......

ASP.NET AJAX ÖÐ UpdateProgress µÄ覴ü°Æä½â¾ö·½·¨


... Ç°ÑÔ
  ÔÚWebÓ¦ÓóÌÐòÖУ¬ÒýÈëAJAX£¬²»½ö¿ÉÒÔÌá¸ßÓû§ÌåÑ飨ҳÃæ¾Ö²¿Ë¢Ð£©£¬¶øÇÒ¿ÉÒÔÔÚÒ»¶¨³Ì¶ÈÉÏ£¬½µµÍWeb·þÎñÆ÷µÄ¹¤×÷¸ºÔغÍÏìӦʱ¼ä¡£
  AJAX ʹÓÃJavascript£¬ÔÚ¿Í»§¶Ë£¨ä¯ÀÀÆ÷¶Ë£©£¬Í¨¹ýHttp(s)ЭÒ飬Ïò·þÎñÆ÷¶Ë £¨Web Server£©·¢ÆðÇëÇó£»·þÎñÆ÷¸ù¾ÝÇëÇóµÄURI£¬
Íê³ÉÏàÓ¦µÄÂß¼­²Ù×÷£¬¶ûºó½«Ö´ÐÐµÄ ......

asp.net ¹â°ôЧӦ£¨½ñÌì¸Õ¸Õѧµ½µÄ£©

protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
    {
        
        if (e.Row.RowType == DataControlRowType.DataRow)
        {
   ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ