this is my code:
 
PrivateSub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Try
tb1 = CType(Me.TextBox1.Text, Integer)
tb2 = CType(Me.TextBox2.Text, Integer)
tb3 = CType(Me.TextBox3.Text, Single)
Catch ex As Exception
MessageBox.Show(ex.Message)
EndTry
EndSub
 
i have 3 textbox and in this convert input to integer and single .
if my user input string value my try active and show a messagebox. now i want to know that wich one of my textboxs has this problem ? and input string in return for number inside textbox???
i need this in try and ex and those return wiche my textbox have this is problem ?
 
please help me ????
thanks
	
		
			
		
		
	
				
			PrivateSub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Try
tb1 = CType(Me.TextBox1.Text, Integer)
tb2 = CType(Me.TextBox2.Text, Integer)
tb3 = CType(Me.TextBox3.Text, Single)
Catch ex As Exception
MessageBox.Show(ex.Message)
EndTry
EndSub
i have 3 textbox and in this convert input to integer and single .
if my user input string value my try active and show a messagebox. now i want to know that wich one of my textboxs has this problem ? and input string in return for number inside textbox???
i need this in try and ex and those return wiche my textbox have this is problem ?
please help me ????
thanks
 
	 
 
		 
 
		 
 
		 
 
		