asp.netÏÂpngͼƬ͸Ã÷
ÎÒ¿´ÁËÍøÉϵÄһЩʵÀýÓÃCSSµÄ£¬È·ÊµÓÐÓá£
²»¹ýÓöµ½Ò»¸öÎÊÌ⣬ÎÒÓÃjs¿ØÖÆÍ¼Æ¬Çл»£¬ÍøÒ³¸ÕˢеÄʱºòÊÇÕý³£µÄ£¬Çл»ºó¾Í²»Í¸Ã÷ÁË£¬Á˽âµÄ°ï°ïæÀ²£¡
¿ÒÇëÇóÖú£¡
ÍøÒ³¸ÕˢеÄʱºòÊÇÕý³£µÄ£¬Çл»ºó¾Í²»Í¸Ã÷ÁË
Çл»ÔÚµ÷ÓÃÄãдµÄ͸Ã÷ͼƬµÄº¯Êý
ÎÒÓõÄÊÇCSS×öµÄ£¬jsÀïʹÓÃclassNameÉèÖ㬿ÉÊDz»Æð×÷ÓÃ
CSS code:
.pngfix
{
azimuth: expression(
this.pngSet?this.pngSet=true:(this.nodeName == "IMG" && this.src.toLowerCase().indexOf('.png')>-1?(this.runtimeStyle.backgroundImage = "none",
this.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.src + "', sizingMethod='image')",
this.src = "images/blank.gif"):(this.origBg = this.origBg? this.origBg :this.currentStyle.backgroundImage.toString().replace('url("','').replace('")',''),
this.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.origBg + "', sizingMethod='crop')",
this.runtimeStyle.backgroundImage = "none")),this.pngSet=true);
}
[code=JScript]
// Çл»Í·Ïñ
var iconid = 1; // ͼƬÃûÆðʼÊý 1.gif
var iconmax = 8; // ͼƬÃû×î´óÖµ 8.gif
function prev()
{
iconid -= 1;
if(iconid < 1) { iconid = iconmax; }
var imgIcon = document.getElementById("imgIco
Ïà¹ØÎÊ´ð£º
ÓÃDWдµÄaspxºÍvs C#дµÄÍøÕ¾ÏµÍ³(Ö÷ÒªÒ³ÃæÎļþÒ²ÊÇaspxµÄÎļþ)ÓÐÊ²Ã´Çø±ð,VSдµÄÍøÕ¾·¢²¼ºó,ËùÓеĴúÂ벿·ÖºÏ³ÉÒ»¸öDLLÎļþ,¶øDW¾ÍûÓа취,ÕâÁ½¸ö¹¤¾ßд³öÀ´µÄÍøÕ¾Í¬ÑùÊÇaspxµÄÎļþ,µ«Çø±ðºÜ´ó°¡.
°ïÄã¶¥ÏÂ~£¬Çó ......
ÔÚµ¯³ö¿òÖеã»÷Ò»¸ö°´Å¥£¬Ôõôµ÷תµ½ÁíÒ»¸öä¯ÀÀÆ÷£¬²¢ÇÒÔÚ¸Ãä¯ÀÀÆ÷´ò¿ªÁ½¸öÒ³Ãæ
ÄãµÄÒâ˼Ӧ¸ÃÊÇ
response.write("<script>alert('È·ÈÏ'); window.location.href('xxxx.aspx'); </script>"); ......
ÎÒÖ÷ÒªÏë¿ØÖÆÏÂword±£´æµÄµØÖ·£¬µ«ÊDZàÒë²»¹ýÈ¥£¬×ܾõµÃÊÇȱÁËusing¡£¡£¡£
лл
´úÂëÈçÏ£º
using System;
using System.IO;
using System.Collections;
using System.ComponentModel;
using System.Data;
u ......
ǰ¼¸ÌìÓÐÈËÎÊÎÒ¶àÏ̷߳½ÃæµÄ¶«Î÷£¬Ð´ÁËÔõô¾ÃµÄ³ÌÐò£¬ÎÒÒ»Ö±ÓÃ(.net 1.1)ÔÚasp.netһֱûÓùý¶àÏ̵߳ĴúÂë¡£
˵ʵ»°£¬ÎÒÒ»Ö±²»ÖªµÀ¶àÏß³ÌÔÚasp.netÄÜ×öʲô·½ÃæµÄÓ¦Óá£ÎÒÏÖÔÚ³ÌÐò¶¼ÊÇ get post Ìá½»²ÎÊý£¬´úÂëÖÐÏò ......
Ƥ·ôºÍÑùʽ±í¶¼¿ÉÒÔÉèÖÿؼþµÄÍâ¹Û£¬¾ßÌåÓÐÊ²Ã´Çø±ðÄØ£¿
skin ÊÇasp.net ÌåϵµÄ ¾ÍÏ൱ÓÚ<asp:TextBox> ¶ÔÓ¦ÓÚ<input type="text">
Äã°ÑƤ·ôµ±³ÉÒ·þ£¬°ÑÑùʽ±íµ±³É»¯×±Æ·¾ÍÈÝÒ×Àí½âÁË
......