摘要: 1、行命令处理(1、 后台代码:操作行//如果是来自html响应中的该函数操作if(e.CommandName=="addAge"){ //取得行号int index=((ListViewDataItem)e.Item)DispalyIndex;//取得当前操作行的主键值//DataKeys存的是所有ID,取的是第index个IDGuid id=(Guid)ListView1.DataKeys[index].Value; 表Adapter adapter=new 表Adapter(); adpter.自定义数据库函数addAge; //数据绑定 ListView.DataB 阅读全文
posted @ 2013-04-08 19:03 daomul 阅读(259) 评论(0) 推荐(0) 编辑