ARACK04
asked on
set itemdatabound event
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. DataGridIt emEventArg s)' is an event, and cannot be called directly. Use a 'RaiseEvent' statement to raise an event.
How do I create a RaiseEvent statement?
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.
How do I create a RaiseEvent statement?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.