Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

Using a method or class to call a form control from a class file.

$
0
0
Helo my ASP.NET friends. I have a form containing several controls. I also added a Class by going to Add New Item and selecting Class. My question is how can I create method in my class that allows me to access all of the form controls?. I do not want to create individual methods for each control, just one, maybe a Class object and then use it to call the form controls. Thanks.

Viewing all articles
Browse latest Browse all 23244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>