If i want 2 change the properties of dynamically created controls then how i can do it. e.g i create a textbox and want to change its size where height=20 and width=100. How can i change it through programming dynamically?What is the code or syntax to set properties of controls in C#.Net using dynamic programming?
Textbox TextBox1 = new TextBox();
TextBox1.Height = 20
TextBox1.Width = 100What is the code or syntax to set properties of controls in C#.Net using dynamic programming?
lets say the name of the text box is tb1..it has got one property style..so,
if u press dot after tb1 then u will find a property called style...this u can set by writing Z-style= position left rite etc....consult wrox books
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment