自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

骆枫专栏

软件技术

  • 博客(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 1182

转载 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 746

转载 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关注的人

提示
确定要删除当前文章?
取消 删除