工作中点滴记录

永远保持学徒心态

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

随笔分类 -  GridView控件

GridView控件
摘要:一直不喜欢用Gridview,可是任务说明要用Gridview的RowCommand事件,把代码整理如下:View Code 1 protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e) 2 { 3 if (e.CommandName == "Up") 4 { 5 string[] skey = e.CommandArgument.ToString().Split(','); 6 7 SqlConnection con = new SqlConnection( 阅读全文
posted @ 2011-05-18 15:39 梦里故乡 阅读(3812) 评论(0) 推荐(0)