Hi
Co**********@al.com,
I think you need to modify your code a bit.
object obj;
string strA = "Hello ";
string strB = "World";
obj = "textbox" + strA + strB;
textBox1.Text = obj.ToString();
1) You need to have textBox1.Text instead of just textBox1, as you want to make TextBox to display it.
2) You need to cast the object to string.
Correct me if i am wrong. Can i use reflection to achieve it? Thanks.
--
Regards,
Chua Wen Ching :)
"Co**********@al.com" wrote:
is it possible to do this.
object obj;
TextBox tb;
obj="textbox"+strA+strB;
tb=obj;
THANK YOU