|
-
Mar 5th, 2009, 12:44 AM
#1
Thread Starter
Fanatic Member
new to asp.net looking up stock prices
I'm doing a simple program just for kicks
I wanted to enter a stock symbol and then retrive its price. Can anyone point me in the right direction.
-
Mar 5th, 2009, 03:35 AM
#2
Re: new to asp.net looking up stock prices
You can either use a web service to query the current stock price or you can parse an existing web page.
I assume you're familiar with both concepts? For the web service way, you add a web reference to your project and use its methods. For the web page way, you perform an HttpWebRequest and parse the HTML that you get back from the page to look for the price in there. The HttpWebRequest way of doing things is probably going to be a little more difficult and slower, but if you're doing it for kicks, you could even do both. Your app of course, so you choose.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|