stuck with web conrol properties
C#
1
Posts
1
Posters
0
Views
1
Watching
-
In a method i have two strings first is a property name i.e. "Text" and second is its value "MyName" as well as I have a control on my web form i.e. TextBox1 now on the basis of given string how can I set the TextBox1.Text = "MyName". The problem is I didn't found any property collection with control object and through reflection i can access properties but in that case those were not attached with a perticular control. How can I map the Text property of TextBox control through string "Text"???