hi
I'm using the stringwriter and htmltextwriter to export the data and the declaration of my button click event is
Private Sub btnExport_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) handles btnExport.Click
i'm having an error saying "Compiler Error Message: BC30506: Handles clause requires a WithEvents variable."
seems like the code is not running at all if i remove "handles btnExport.Click" from the code.
Any ideas..
I'm using the stringwriter and htmltextwriter to export the data and the declaration of my button click event is
Private Sub btnExport_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) handles btnExport.Click
i'm having an error saying "Compiler Error Message: BC30506: Handles clause requires a WithEvents variable."
seems like the code is not running at all if i remove "handles btnExport.Click" from the code.
Any ideas..