Hi all,

I am doing a project on abstract the numbers that i get from the datagridview to append it on the other textbox. Ok I elaborate more. I have 2 form which is form1 and form2. For the form1, the view is 2 textbox and a 'To' button. when click on the 'To' button, it is direct to form2 which is the datagridview. After selecting the selected numbers, it will display the numbers on the form1 of the one of the textbox. but the problem is I want to abstract one by one of the numbers and append it on the other textbox of the form1.

Hope that anyone could help.

Thanks

Regards
LiL_Is

I think you mean 'extract' the numbers? If so:

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
		Dim i1 As Integer
		For i1 = 0 To TextBox1.Text.Length - 1
			If (Char.IsNumber(TextBox1.Text(i1))) Then
				TextBox2.Text += TextBox1.Text(i1)
			End If
		Next
	End Sub