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

asp.net °ó¶¨GridView

ǰ̨ aspx Îļþ:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="List.aspx.cs" Inherits="List" %>
<!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 id="Head1" runat="server">
<title></title>
<link href="css.css" mce_href="css.css" rel="stylesheet" type="text/css" />
<mce:script language="javascript" type="text/javascript"><!--
function disOpen(c)
{
var xposition=0;
var yposition=0;
var width=600;
var height=550;
var url=c;

url=url+"?pagesize="+document.forms(0).hidpagesize.value;
if ((parseInt(navigator.appVersion) >= 4 ))
{
xposition = (screen.width - width) / 2;
yposition = (screen.height - height) / 2;
}
var theproperty= "width=" + width + ","
+ "height=" + height + ","
+ "location=0,"
+ "menubar=0,"
+ "resizable=1,"
+ "scrollbars=1,"
+ "status=0,"
+ "titlebar=0,"
+ "toolbar=0,"
+ "hotkeys=0,"
+ "screenx=" + xposition + ","
+ "screeny=" + yposition + ","
+ "left=" + xposition + ","
+ "top=" + yposition;
window.open(url,null,theproperty );
}
function DEL(N)
{
if(window.confirm("Are you sure you wish to delete?")==true)
{
document.forms(0).hidID.value = N;
document.forms(0).hidopMode.value = "1";
document.forms(0).submit();
}
}
function CheckMsg()
{

if(document.forms(0).hidsysMsg.value.length!=0)
{
alert(docu


Ïà¹ØÎĵµ£º

asp.net¼òµ¥Êý×ÖÑéÖ¤ÂëµÄʵÏÖ

µ÷ÓÃ
ÑéÖ¤Â룺<input type="text" id="txtValidate" style="border: solid 1px #9B9B9B; width: 85px;
height: 17px;" />  <img src="Rnd.aspx" mce_src="Rnd.aspx" style="width: 58px; height: 17px;
border: solid 1px #9B9B9B" align="abs ......

asp.netÖÐÈçºÎʹÓÃ΢ÈíµÄURLRewriter½øÐÐurlÖØд

asp.netÖÐÈçºÎ½øÐÐurlÖØд£¬½ñÌìÑо¿ÁËÒ»ÌìÕâ¸öÎÊÌâ
ÏëʵÏÖÖîÈ磺http://www.51cto.com/2008/2/2
http://www.51cto.com/default.html
µÈÕâÖÖurl
µ±È»£¬³ÌÐòÖ±½ÓÉú³É¾²Ì¬Ò³Ãæ¿ÉÒÔʵÏÖµÄ
µ«ÊÇÄÇÑùÒªÉú³ÉºÜ¶àÕâÖÖÒ³ÃæÒÔ¼°Îļþ¼Ð
¶øÇÒÔÚÊý¾ÝÁ¿´óµÄÇé¿öÏÂÉú³ÉÊǺÜÀË·Ñʱ¼äµÄ
ÔÚÕâÖÖÇé¿öϾÍҪʵÏÖurlÖØдÁË£¬µ±È»¾ ......

asp.net¶ÔÓÚ³¤ÆªÎÄÕ½øÐзÖÒ³

¶ÔÓÚÎÄÕÂƪ·ù±È½Ï³¤µÄ£¬¾Í±ØÐë²ÉÓ÷ÖÒ³ÏÔʾ¡£ÔÚ.netÖжԳ¤ÆªÎÄÕ·ÖÒ³Ò»°ãÓÐ2ÖÖ·½·¨£¬µÚÒ»ÖÖ¾ÍÊÇÏȼÆËãºÃÒ»Ò³µÄÎÄ×Ö³¤¶ÈÊǶàÉÙ£¬È»ºó°ÑÎÄÕÂ×ܵij¤¶È³ýÉèÖúõĵ¥Ò³ÎÄ×Ö³¤¶È¼°¿É£¬ÓÃÕâ·½·¨¿ÉÒÔ¼õÉÙÈÏΪ½øÐзÖÒ³µÄ·±Ëö£¬µ«ÊÇÕâÑù·ÖÒ³³öÀ´µÄ¿ÉÄܲ»ÊǺÜÕýÈ·£¬ÒòΪ²»ÄÜ´ïµ½ÏëÔÚijЩÌصãλÖýøÐзÖÒ³¡£µÚ¶þÖÖ¾ÍÊÇͨ¹ýÈËΪºÍ³ÌÐòÊµÏ ......

asp.netÄ£°åÁÐ Command ÃüÁî Ó¦ÓÃSelectedRowStyle

ÔÚgridviewÖÐ
 <asp:GridView ID="GridView1"   runat="server" AutoGenerateColumns="False">
 <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
<asp:TemplateField HeaderText="Remove">
        &nbs ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ