日期:2014-05-19  浏览次数:20467 次

GridView模版进行更新时在cs中怎么才能获取更新内容的字段(立刻给分)
Sring   strsql=update   message   SET   name= ' "+?……   ?+ " ' where   id= "?……? ";

请问这两个字段怎么   添加呢
name是任意字段
id是   DATAKEYS
谢谢高手帮忙解答..

给段事例 代码谢谢!!!!!

------解决方案--------------------
Sring strsql= "Update Oper set OpPass= ' " + tb_newpass.Text.Trim() + " ' Where OpCode= ' " + opercode + " ' "