May 28, 2010 at 7:19 am
Hi,
I want read the data from the online html page using my application user name and password
and update into sql server tables.
is there any way to accomplish this task in sql server ? Please update your suggestion and comments to accomplish task.
Thanks in Advance.
May 28, 2010 at 8:15 am
wrong tool for the job.
reading a web page, entering username and password /submit and browsing to other pages requires some interaction type activities.
much much better to create an application in .NET to do that, and store the resulting pages in SQL server, instead of trying to do it all from SQL.
no matter what, you have to use resources outside of SQL, so do all the work outside of SQL where it is much easier to do it in the first place.
For example, if you take a look at WaTiN(Web ApplicaitonTesting In .NET), you can use that to open a page, goto a link, have it type in a username and password or fill out any kind of <form> on a web page, do the submit, and have the page.html around for parsing.
Lowell
May 28, 2010 at 8:22 am
Thanks for your reply.
May 28, 2010 at 9:53 am
Lowell's summarized things well. You need a parsing application to strip out the HTML and get the data.
May 28, 2010 at 10:31 am
Steve Jones - Editor (5/28/2010)
Lowell's summarized things well. You need a parsing application to strip out the HTML and get the data.
Hi,
can you poste the link where i can find way to strip out the html and get the data ?
May 28, 2010 at 3:07 pm
Here's one: http://www.developer.com/net/csharp/article.php/2230091/Parsing-HTML-in-Microsoft-C.htm
Google for parsing HTML.
Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply