Cómo enlazar datos a un control de usuario utilizando .NET

22/07/2005 - 19:15 por Diego | Informe spam
Hola.- Si algien puede decirme como bindear la propiedad "Text" de un texbox
en un control de usuario,. Se lo agradeceria mucho.-

codigo del control: bindea com mi datasource, pero no de manera
bidireccional.-
Imports System.ComponentModel

Imports System.ComponentModel.BindableAttribute

<Bindable(True)> _

Public Overrides Property Text() As String

Get
'Return txt.Text
Return txt.Tag
End Get

Set(ByVal Value As String)



txt.Text = CType(Value, String)

End If

End Set

End Property
 

Leer las respuestas

#1 Diego
22/07/2005 - 20:24 | Informe spam
AYUDA !

Preguntas similares