TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
jaijason
NA
8
0
Looking for a reusable class to clear all objects on a web form.
Nov 20 2003 11:42 AM
I'm trying to figure out how to make a reusable class to clear web forms. I done it in vb but not sure if it could be done here. This is in c# syntax. I would like it to take all objects from the form, distinguish what type of object it is and then apply its clear method. Seems easy. The only way I see it being done is to go through the forms collection of items. then use maybe a switch statement for each type used and in the switches apply the clear method for that object. Will this work. Anyone done this already. Thanks
Reply
Answers (
2
)
sending files via ftp (i think)
Custom error page when accessing unauthorized page