DataGrid检索出来的数据如何删除一条!急!!
DataGrid检索出来的数据,因为数据库的关键字不只一个(ORACLE数据库),请问该如何删除一条数据。string strKey = dgDetails.DataKeys[e.Item.ItemIndex].ToString();
string strSQL = "update tbAdvertisement set vcStatus='1' where ID='"+strKey+"'";
可是我的数据库里关键字比较多啊!SQL语句条件里要加多个。


或者怎样才能得到当前行指定列的值。
[此贴子已经被作者于2006-11-28 18:52:08编辑过]