creazygirl

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2006年5月29日

摘要: 如果能够实现datagrid模板列点击编辑列时能够实现修改,必须有第2句代码 1 SqlDataAdapter da=new SqlDataAdapter("select au_id,au_lname,city,xinbie from authors",myconnection); 2 da.SelectCommand.CommandType=CommandType.Text; 阅读全文
posted @ 2006-05-29 17:00 久久 阅读(133) 评论(0) 推荐(0) 编辑

摘要: TableCell productcell=e.Item.Cells[2];//ystem.web.ui.webcontrols.tablecellcollection tablerows.cell获取system.web.ui.webcontrols.tablecell对象的集合,这些对象表示system.web.ui.webcontrol.table控件中的行的单元格。数组从零开始。模板列是零... 阅读全文
posted @ 2006-05-29 14:26 久久 阅读(175) 评论(0) 推荐(0) 编辑