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

Recommended Answers

All 2 Replies

yes not what i was looking for
thanks though

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.