当前位置: 代码迷 >> ASP.NET >> GridView模版进行更新时在cs中如何才能获取更新内容的字段(立刻给分)
  详细解决方案

GridView模版进行更新时在cs中如何才能获取更新内容的字段(立刻给分)

热度:8876   发布时间:2013-02-26 00:00:00.0
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 + " ' "
  相关解决方案