Calling a Function from a DataGridhttp://forums.asp.net/t/297821.aspx/1?Calling+a+Function+from+a+DataGridFri, 01 Aug 2003 22:31:57 -0400297821297821http://forums.asp.net/p/297821/297821.aspx/1?Calling+a+Function+from+a+DataGridCalling a Function from a DataGrid I need the row value (.Rows(0)) to increment by one each time this function is called. Unfortunately, I am new to programming and I can't figure out how to do this. Would greatly appreciate any assistance (w/example code, if possible). DataGrid code that is calling the function: <pre class="prettyprint">More</pre> The Function that is being called by the HyperLink object withinn the DataGrid: <pre class="prettyprint"> Public Function SetEventDescription(ByVal Event_Description As Object) As String Dim EventDescription As String EventDescription = DS.Tables("CalendarofEvents").Rows(0)("Event_Description").ToString() Return EventDescription End Function </pre> 2003-08-01T20:54:38-04:00297850http://forums.asp.net/p/297821/297850.aspx/1?Re+Calling+a+Function+from+a+DataGridRe: Calling a Function from a DataGrid Is this the same table your grid is bound to? 2003-08-01T21:33:24-04:00297852http://forums.asp.net/p/297821/297852.aspx/1?Re+Calling+a+Function+from+a+DataGridRe: Calling a Function from a DataGrid Yes, it is the same table that my DataGrid is bound to. 2003-08-01T21:34:48-04:00297871http://forums.asp.net/p/297821/297871.aspx/1?Re+Calling+a+Function+from+a+DataGridRe: Calling a Function from a DataGrid I'm not really sure why you think you need to call the function at all. It looks like you could just bind your tooltip with:<pre class="prettyprint">Tooltip=''</pre> 2003-08-01T22:14:26-04:00297886http://forums.asp.net/p/297821/297886.aspx/1?Re+Calling+a+Function+from+a+DataGridRe: Calling a Function from a DataGrid Jim, That did the trick! Like I said, I am very new to this thing called &quot;programming&quot;, so I really appreciate the assistance. Thank you very much. 2003-08-01T22:30:26-04:00