http://msdn.microsoft.com/msdnmag/issues/03/10/CuttingEdge/default.aspx
解决方案 »
- aspxgridview 插入数据更新时提示不为空代码?
- 谁能给个最新的asp.netAJAX安装包?要带最新控件的。
- csdn的分页存储过程怎么做的,大家有好的分页存储过程么
- 所有章节写作完毕,进入校验阶段
- GridView的批量更新
- 求一正则,关于链接的
- "Select ........ where PaymentInfo.GongZiQingSuan='N' and PaymentInfo.YingShou>0"
- 单模式文件下怎么实现编程 大家帮帮忙呀
- 在线等待:怎样让DataGrid的asp:BoundColumn下的文字有链接?
- 一个简单的bbs的数据库设计是怎样的?
- ◆圣诞贺喜◆ASP.NET空间★★VIP企业邮箱!!
- aspnet工程dll文件的調用
http://www.dapha.net/down/show.asp?classid=8&Nclassid=144
http://www.aspxcn.com/control/download.aspx
DataGird模板列中在增加一个Table(2行),一行放主表的一列,另一行放一个DataGird绑定次表,实现展开用js ,例如:a.html<body onload="loadme()">
<table id=aa onclick="a()">
<tr style="cursor:hand;display:">
<td>aaaa</td>
</tr>
<tr style="cursor:hand;display:">
<td>bbbbbb</td>
</tr>
<tr style="cursor:hand;display:">
<td>aaaa</td>
</tr>
<tr style="cursor:hand;display:">
<td>bbbbbb</td>
</tr>
</table>
<script>
function loadme()
{
var x=document.getElementById("aa").rows.length-1;var i;
for(i=1;i<=x;i=i+2)
{
document.getElementById("aa").rows[i].style.display='none'
}}
function a()
{
e=event.srcElement
if(e.tagName=="TABLE") return
while(e.tagName!="TR")
e=e.parentElement
if(e.rowIndex==document.getElementById("aa").rows.length-1) return
document.getElementById("aa").rows[e.rowIndex+1].style.display=(document.getElementById("aa").rows[e.rowIndex+1].style.display=='none')?'':'none'
}
</script>
</body>