("OnMouseout", "this.style.BackgroundColor = 'White');} This will turn the color into a Silver when the mouse is moved into a WHITE (very color). The previous judgment can also have the same effect when the mouse moves to Head and Foot, so that the script can be
Only generates it inside.
Or specify a column discoloration: if (E.Item.itemType == ListItemType.Item || E.Item.ItemType ==
Not only this, you can also specify the shape of the mouse to move to a column: E.Item.cells [3] .style ("cursoor") = "Hand" or click a single display message: E.Item.cells [3] .attributes.add ("onclick", "Alert ('you click on the ID is:"
E.Item.cells [0] .text "! ');"), etc. ...
Through this method, we can also add the effect of movement on the mouse to the line to appear prompts E.Item.cells [2] .attributes.add ("Title", "He you can add a prompt information");
After practical discovery, you can add a lot of JavaScript scripts that make your DataGrid look more vivid. Finish!