sub setUp(byRef myDG as DataGrid)
myDG = new DataGrid()
dim bc as BoundColumn
myDG.AutoGenerateColumns = false
myDG.CssClass = "dgStyle"
myDG.ItemDataBound = writeFooter *****
This line gives me the following error
'Public Event ItemDataBound(sender As Object, e As System.Web.UI.WebControls.DataGridItemEventArgs)' is an event, and cannot be called directly. Use a 'RaiseEvent' statement to raise an event.
How do I create a RaiseEvent statement?