首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

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

2012-01-20 
GridView模版进行更新时在cs中怎么才能获取更新内容的字段(立刻给分)SringstrsqlupdatemessageSETname+

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 + " ' "

热点排行