摘要:一直不喜欢用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(
阅读全文
随笔分类 - GridView控件
GridView控件