|
-
Feb 2nd, 2011, 12:20 PM
#2
Thread Starter
Junior Member
Re: Passing a textbox value from a datarepeater
I got it!
on the calling form i put,
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim Instanceform2 As New Wuploader
If DataRepeater1.CurrentItem Is Nothing Then Exit Sub
Instanceform2.XValue = DataRepeater2.CurrentItem.Controls("TblidTextBox1").Text()
Instanceform2.ShowDialog()
End Sub
and on the form called i put
Private x As String
Public Property XValue() As String
Get
Return x
End Get
Set(ByVal value As String)
x = value
End Set
End Property
Me.TextBox2.Text = x.ToString
Thanks just the same
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|