asp.netÖÐʵÏÖGridviewµÄ¶àÐÐÍÏ·Å£¬ ÒÔ¼°¿ç¿Ø¼þÍÏ·Å
ѧϰJQueryʱ£¬·¢ÏÖJQueryÖ»ÄÜ×öµ¥ÐÐÍÏ·Å£¬ ÓÚÊÇ»¨Ê±¼ä×öÁËÒ»¸ö¶àÐÐÍϷŵÄÀý×Ó£¬ ÒÔ±¸ÒÔºóʹÓá£
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script type="text/javascript" src="jquery-1.3.2.js"></script>
<script type="text/javascript" src="jquery-ui-1.7.2.custom.js"></script>
<script type="text/javascript">
//===================================
//dragg and drop sample program
//authored by gujinsong@trans-cosmos
//2009-11-11
//===================================
//temporary var that stored selected rows
var SelectedRows = [];
//forbid all select
document.onselectstart = function() { return false; }
//fires when dragg object go out the source table
$(document).mouseup(function() {
$(".float").hide();
$(".float")[0].innerHTML = "";
IsDragging = false;
}
).mousemove(function(e) {
if (IsDragging == true) {
$(".float").css("top", e.clientY + 2);
$(".float").css("left", e.clientX + 2);
$(".float").show();
}
});
// flag that indicates whether is during dragging
var IsDragging = false;
//using jquery give mouse event to each rows
$(document).ready(function() {
$(".stripe tr").mousedown(
function(e) {
if (this.innerHTML.substring(0, 3) == "<TH") return false;
if (!e) var e = window.event;
&n
Ïà¹ØÎĵµ£º
×÷Õߣº°½Ê¿Î°
Ò»¡¢ÏîÄ¿ÖÐÒýÓÃlog4net.dll
¶þ¡¢AssemblyInfo.csÖмÓÈ룺
[assembly:log4net.Config.DOMConfigurator(ConfigFile="log4net.xml", Watch=true)]
˵Ã÷£ºÖ¸Ã÷log4net.xmlÅäÖÃÎļþ
Èý¡¢´úÂëÖÐʹÓÃLog4net
using log4net;
ILog log = LogManager.GetLogger("log4net");
log.Info("It's OK!");
¸½£ ......
ÍøÕ¾ÎļþÃû£º
1¡¢ ÍøÕ¾ÎļþÃûÒÔ±ê×¼Ó¢Îĵ¥´ÊÃèÊöÒµÎñÄÚÈÝ¡£Èç¹û1¸öÓ¢Îĵ¥´ÊÎÞ·¨ÃèÊö£¬¿ÉÒÔÔö¼Ó2¸ö»òÕß3¸ö£¬µ«¾¡Á¿ÎªÍêÈ«µ¥´Ê£¬ÀýÈçarticle.aspx/ articleView.aspx / articleList.aspx µÈ¡£
2¡¢ ÎļþÃû¾¡Á¿²»ÓÃÊý×ÖÃèÊö¡£
3¡¢ ÎļþÃû¾¡Á¿²»ÄÜÌ«³¤£¬ÒÔ²»³¬¹ý20¸ö×ÖĸΪÒË¡£
4¡¢ ͼƬÎļþÃû¾¡Á¿ÃèÊöͼƬÄÚÈÝ·ÖÀà¡£¾¡Á¿ ......
Óû§¿Ø¼þÊÇASP.NETÖкÜÖØÒªµÄÒ»²¿·Ö£¬Ê¹ÓÃËü¿ÉÒÔÌá¸ß³ÌÐò´úÂëµÄÖØÓÃÐÔ£¬¼´Ò»¸öÓû§¿Ø¼þÔÚÍøÒ³¡¢Óû§¿Ø¼þ»ò¿Ø¼þµÄÄÚ²¿¶¼¿ÉÒÔÔÙ´ÎʹÓᣱ¾ÊµÀý½éÉÜÓû§µÇ¼µÄÓû§¿Ø¼þÒ²¿ÉÒÔÔÚÍøÕ¾µÄÈκεط½ÔÙ´ÎʹÓá£
¼¼ÊõÒªµã
±¾ÊµÀý½éÉÜÈçºÎÔÚASP.NETÖд´½¨Óû§¿Ø¼þ¡¢ÈçºÎʹÓÃÓû§¿Ø¼þ£¬ÒÔ¼°ÈçºÎÔÚÓû§¿Ø¼þÖж¨Ò幫¿ªÊôÐÔµÄʵÏÖ·½·¨¡£
......
1¡¢Ìí¼ÓÒ»¸öÍøÕ¾µØͼÏî Web.sitemapÏî
2¡¢ÔÚ Web.sitemapÏîµÄд·¨ÈçÏ£º
<?xml version="1.0" encoding="utf-8"?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0
">
<siteMapNode url="default.aspx" title="Ê×Ò³&qu ......
ÕâÊÇÎÒ´Ó±ð´¦Õª³µÄһƪÎÄÕ£¬ÏàÐÅ´ó¼Ò¶¼ºÜÊìϤµÄ£¬½²µÄºÜÃ÷°×£¬µ«ÊÇÎÒ¶ÔÆäÖÐÒ»µã´æÓÐÒÉ»ó£¬Ðí¾ÃҲûÓÐÕÒµ½´ð°¸¡£
µ÷ÓÃwebserviceʱ¿ÉÒÔ·µ»ØdatatableµÈ¸´ÔÓÊý¾ÝÀàÐÍ£¬ÏÂÃæÀý×ÓÖÐÒ²Óеģ¬ÔÚǰ̨µ÷ÓÃʱ£¬ÆäʵÕâЩÊý¾ÝÀàÐ;¹ýÁËת»»Æ÷´¦Àí¡£ÏÂÃæµÄÀý×ÓÖУ¬·µ»ØµÄdatatable±»Ò»ÏîÒ»ÏîÌí¼Óµ½selectÉÏÈ¥ÁË£¬ÆäʵÎÒ¿´ÁË¾Í ......