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
1
Answer
getting the control in a WebForm
RommeL
16y
2.2k
1
Reply
this is my code there are error in it can someone tell me how to correct this?
foreach (System.Web.UI.Control ctrl in Table)
{
if (ctrl is DropDownList)
{
DropDownList dd = new DropDownList(ctrl);
break;
}
}
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Object set to null refrecce
Converting object type