S
Simang
Hi,
I created a DataGrid programmatically, my problem is that I dont know
how to associate a function with the OnItemDataBound event of the
Datagrid if it's created programmatically.
Would anyone help me do this?
Any help will be much appreciated.
Thanks!
Mayet
Here is a sample code...
Dim oGrd As DataGrid
oGrd = New DataGrid()
Dim oDS As DataSet = New DataSet()
oDS = oPL.GetReport()
grdPayroll.DataSource = oDS
grdPayroll.DataBind()
Private Sub grdItemDataBound() ....
End Sub
I created a DataGrid programmatically, my problem is that I dont know
how to associate a function with the OnItemDataBound event of the
Datagrid if it's created programmatically.
Would anyone help me do this?
Any help will be much appreciated.
Thanks!
Mayet
Here is a sample code...
Dim oGrd As DataGrid
oGrd = New DataGrid()
Dim oDS As DataSet = New DataSet()
oDS = oPL.GetReport()
grdPayroll.DataSource = oDS
grdPayroll.DataBind()
Private Sub grdItemDataBound() ....
End Sub