『深巷の布衣』


我为她/它狂~~~

在工作中注重结果,在生活中享受过程!
posts - 208,comments - 119,trackbacks - 10
     摘要: 有一个参数需要额外进行讨论。我们需要将被更新的行的 ProductID 列的值传递给 UpdateProduct 方法由于没有在 GridView 中显示 ProductID 列,我们必须将 ProductID 列分配给 GridView 控件的 DataKeyNames 属性。这个列的名称变为 original_productId,而不是 productId,因为我们正在向 update 方法传递 ProductID 列的未编辑版本。  阅读全文
posted @ 2006-07-26 01:58 潘奕涛 阅读(286) | 评论 (1)编辑