- 博客(4)
- 资源 (1)
- 收藏
- 关注
原创 ASP.NET GridView 自增編號
proctected void Gridiew1_RowDataBound(object sender,GridviewRowEventArgs e) { if(e.Row.RowIndex!=-1) { int id=e.Row.RowIndex+1;
2015-07-22 06:57:14 457
原创 asp.net 讀寫XML文件
讀取XML內容 XmlDocument xml=new XmlDocument(); xml.Load(Server.MapPath("text.xml")); XmlNode node = xml.SelectSingleNode("root");//根節點 XmlNode nd =
2015-07-17 14:54:31 366
原创 Javascript 彈出日曆并返回值,Calendar控件
//子窗體日曆控件事件 protected void Calendar1_DayRender(object sender, DayRenderEventArgs e) { e.Cell.Attributes.Add("onmouseover", "currentcolor=this.style.backgroundColor;this.style.backgroun
2015-07-15 10:58:36 634
原创 ASP.NET GridView保存数据到Excel
// GridView1.AllowPaging = false; //清除分页 // GridView1.AllowSorting = false; //清除排序 Button1_Click(sender, e); //绑定gridview1数据源的函数。 Response.Clear();
2015-07-02 08:45:16 474
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人