改变背景不知道怎办,但是双击打开单据知道怎么做
       If (itemType <> ListItemType.Header) And _
           (itemType <> ListItemType.Footer) And _
           (itemType <> ListItemType.Separator) Then            ' Get the IntegerValue cell from the grid's column collection.
            intCell = CType(e.Item.Controls(2), TableCell)
            ' Add attributes to the cell.
            intCell.Attributes.Add("id", "intCell" + e.Item.ItemIndex.ToString())
            intCell.Attributes.Add("OnClick", "Mouse_Click" + "('" + STDAsset_NO + _
                                    "')")            ' Add attributes to the row.
            e.Item.Attributes.Add("id", "row" + e.Item.ItemIndex.ToString())
            e.Item.Attributes.Add("OnDblClick", _
                                   "Mouse_DblClick" + _
                                   "()")
不过,自定义的函数中好像只能传递一个参数