|
-
Aug 19th, 2011, 09:44 PM
#1
Thread Starter
New Member
Help Please....
Hello,
I am using the code below to find make an auto Google searcher to find car color, but the textbox won't work to get the color imputed also so it would say Car color red.
Code:
trem.SetAttribute("value", "car color"TextBox1.Text)
Can anyone help please.
-
Aug 20th, 2011, 11:07 AM
#2
Re: Help Please....
IMO, you're not cancatenating the ---"car color"TextBox1.Text--- part
It should be concatenated using & or String.Concat
Code:
Imports System
Imports System.Collections
Public Class MainClass
Shared Sub Main()
Dim s1 As String = "abcd"
Dim s2 As String = "ABCD"
' concatenation method
Dim s3 As String = String.Concat(s1, s2)
Console.WriteLine("s3 concatenated from s1 and s2: {0}", s3)
' use the overloaded operator
Dim s4 As String = s1 & s2
Console.WriteLine("s4 concatenated from s1 & s2: {0}", s4)
End Sub
End Class
JG
... If your problem is fixed don't forget to mark your threads as resolved using the Thread Tools menu ...
-
Aug 26th, 2011, 05:26 PM
#3
Thread Starter
New Member
Re: Help Please....
 Originally Posted by jggtz
IMO, you're not cancatenating the ---" car color"TextBox1.Text--- part
It should be concatenated using & or String.Concat
Code:
Imports System
Imports System.Collections
Public Class MainClass
Shared Sub Main()
Dim s1 As String = "abcd"
Dim s2 As String = "ABCD"
' concatenation method
Dim s3 As String = String.Concat(s1, s2)
Console.WriteLine("s3 concatenated from s1 and s2: {0}", s3)
' use the overloaded operator
Dim s4 As String = s1 & s2
Console.WriteLine("s4 concatenated from s1 & s2: {0}", s4)
End Sub
End Class
Will check this out hope it work thanks...
Tags for this Thread
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
|