Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
2
Answers
How to format a control like a variable?
Nail Aslan
8y
306
1
Reply
How to format a control like a variable?
For example;
// Create a method
Control MyControls(TextBox control)
{
//Your codes...
}
//Adding many textbox as parameter in a method
for( i=0;i<10;i++)
{
MyControls( textbox{i} );
}
Thanks all attention
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
How to add reference to an assembly if different ver. exists
oops concept with c#