09 2011 档案
摘要:protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { //Button btndelete = (Button)e.Row.FindControl("btndelete"); //if (btndelete != null) //{ // //btndelete.Attributes.Add("onclick", "btndoubleclick_Click()"); // //btndelete.Style["displa
阅读全文
摘要:<script language="javascript" type="text/javascript"> function SelectAll() { //获取GridView中全部input对象集合,“GridView.ClientID”是获得经服务器处理后经过更改的id var obj = document.getElementById("<%=GridView1.ClientID%>").getElementsByTagName("input"); //注意此处代码在本博文发布时,新
阅读全文
摘要:using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Web.UI.HtmlControls;using System.Data.SqlClient;using System.Collections;/// <summary>/
阅读全文