Make the cell of your grid view that holds the total value be a server control, like Label
, and then bind the text to the ToolTip
property of control like this:
<asp:Label id="LabelTotal" runat="server" ToolTip='<%# Eval("Formula") %>' />
Obviously, this means you need to have a property named "Formula" in the list of objects you are binding to your grid view or a database column named "Formula".