S
Shapper
Hello,
I have the following functions:
Sub Config(ByVal tb As TextBox, ByVal fd As String)
...
AddHandler textBox.DataBinding, AddressOf Me.BindData
...
End Sub
Sub BindData(ByVal sender As Object, ByVal e As EventArgs)
Dim tb As TextBox = CType(sender, TextBox)
...
tb.Text=DataBinder.Eval(container.Item.DataControllerRow.DataSourceItem,
fd)
End Sub
My problem is how to use the fd value received in Config function inside
my BindData function. I am giving problems in making this work when
using AddHandler...
Can someone, please, help me?
Thank You,
Miguel
I have the following functions:
Sub Config(ByVal tb As TextBox, ByVal fd As String)
...
AddHandler textBox.DataBinding, AddressOf Me.BindData
...
End Sub
Sub BindData(ByVal sender As Object, ByVal e As EventArgs)
Dim tb As TextBox = CType(sender, TextBox)
...
tb.Text=DataBinder.Eval(container.Item.DataControllerRow.DataSourceItem,
fd)
End Sub
My problem is how to use the fd value received in Config function inside
my BindData function. I am giving problems in making this work when
using AddHandler...
Can someone, please, help me?
Thank You,
Miguel