i have a web page in asp.net C# and what i want to do is when the submit button is clisked in the web page the class Program p = new Program() should load its constructor and in the constructor there should be a method call to pul the data of the web page.

how do i make a method in the Program class to pull the data?

appreciate a reply

yes not what i was looking for
thanks though