- 博客(4)
- 资源 (2)
- 收藏
- 关注
转载 ASP.NET 程序中常用的三十三种代码(4)
private void DataGrid1_ItemDataBound(obj sender,DataGridItemEventArgs e) { for(int i=0;i<e.Item.Cells.Count-1;i++) if(e.Item.ItemType==ListItemType.EditType) { e.Item.Cells[i].Attributes.Add("
2006-08-10 09:39:00 1183
转载 ASP.NET 程序中常用的三十三种代码(3)
protected void CheckAll_CheckedChanged(object sender, System.EventArgs e) { //改变列的选定,实现全选或全不选。 CheckBox chkExport ; if( CheckAll.Checked) { foreach(DataGridItem oDataGridItem in MyDataGrid.Items
2006-08-10 09:28:00 914
原创 ASP.NET 程序中常用的三十三种代码(2)
using System.Threading; namespace MyEventLog { /// <summary> /// 事件日志记录类,提供事件日志记录支持 /// <remarks> /// 定义了4个日志记录方法 (error, warning, info, trace) /// </remarks> /// </summary> public cla
2006-08-10 09:08:00 747
转载 ASP.NET 程序中常用的三十三种代码(1)
1. 打开新的窗口并传送参数: 传送参数: response.write("<script>window.open(’*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"’)</script>") 接收参数: string a = Request.QueryString("id"); string b = Request.Quer
2006-08-10 09:00:00 801
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人