Conversion from string "tooltip.BeginShowToolTip(event," to type 'Double' is not valid.

error is pointing in line 3.  

Dim hl As HyperLink = TryCast(e.Row.Cells(0).Controls(0), HyperLink)
            Dim option_num As Integer = Convert.ToInt32(GridView1.DataKeys(e.Row.RowIndex).Value)
            hl.Attributes.Add("onmouseover", "tooltip.BeginShowToolTip(event," + option_num + ")")
            hl.Attributes.Add("onmouseout", "tooltip.HideToolTip()")
LVL 1
gianitooAsked:
Who is Participating?
 
TechTiger007Connect With a Mentor Commented:
Try
hl.Attributes.Add("onmouseover", "tooltip.BeginShowToolTip(event," + option_num.ToString() + ")")
0
All Courses

From novice to tech pro — start learning today.