I have a simple gridview:
A sql datasource to bind data from table data to gridview.
在 gridview 行更新时,我想从当前编辑行的某些列中清除单元格值,因此这些值也应该从表数据中删除。我怎样才能做到这一点?
就像是:
SqlDataSource1.DeleteCommand = "Delete value from column1,column2 where rowid=@rowid"; //I need the right statment
SqlDataSource1.Delete();