Click here to Skip to main content
15,887,821 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

Can anybody tell me how to do the screen scraping?

I have a scenario like i have intranet app the page contains 2 textboxes and 1 button. I need to implement a app like have to set the values in the textboxes automatically and need to click on the button in asp.net.

I don't know whether it is screen scraping or not. Or else can anybody give me an idea how to implement this in asp.net and c#.

Thanks
Kishore
Posted

1 solution

You can loop through all controls on the web page

For e.g.
C#
foreach(Control ctrl in this.Controls)
 { 
   if (ctrl is TextBox)
   {
     //Set value here
   ]
 }
 
Share this answer
 
Comments
KishoreUHG 11-Jun-13 2:34am    
Not like that.. i need to implement a app that post the textbox values to the intranet app and need to click the button from my developed app. Did you get what i am saying?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900