|
Hi all,
I have been searching for two weeks till now for any code or idea about how to download a CSV file that is online to a web page. I need to download the CSV file under finance.yahoo.com for any stock to an HTML page. I have been trying to find what is the best way to do that. Please help me and let me know if you have any ideas or if you can help me.
Thanks!
Best regards and many thanks
|
|
|
|
|
Which bit are you stuck with ? You need to download the file, and then parse it to build your table.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Well, that's a good question. I am stuck with opening the file to html page. Thanks for getting back so quickly. I appreciate your help.
Best regards and many thanks
|
|
|
|
|
Well, your page definately needs to be active, not just HTML, and it needs to parse out the file on the server, to create a table.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Yes, I know. I was trying to do that with ASP, but could not find any thing that can help me opening a CSV file from the web to another page that I will be creating. I need this file instead to prompt a message either to save it on the hard drive or to view the file, I need it to open right away as soon as the page loads. I need this to be done on the fly and to open in a browser.
Thanks again
Best regards and many thanks
|
|
|
|
|
hi
I am using asp.net2.0, Show progress bar when page load as indication.
plz Any budy help...
k.ravi sankar
|
|
|
|
|
priyaram1 wrote: plz Any budy help
read How to get an answer to your question
only two letters away from being an asset
|
|
|
|
|
|
hi friend
can u explain what it is?
Thank q
k.ravi sankar
|
|
|
|
|
the only way to have any page element visible while pages are loading is to use AJAX. It still won't work for the first page, by definition.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I think this user and suchon_phuong(who keeps posting gibberish) are the same user. Look at this users previous posts. They are titled in the same gibberish.
______________________
stuff + cats = awesome
|
|
|
|
|
hi
Thanks for u r's replay i got the solution simply write javascript in onsubmit event.
Thanq all
regards
ravi sankar,
Tecnics.
k.ravi sankar
|
|
|
|
|
how can i get the day name (sunday or monday or ..... etc) of the given date like 03/05/2007 ??
i want to know the day name of this date or any date in this format
|
|
|
|
|
System.Globalization.DateTimeFormatInfo.CurrentInfo.GetDayName(DateTime.Now.DayOfWeek);
... will give you the culture specific name of the current date.
|
|
|
|
|
Brady Kelly wrote: will give you the culture specific name of the current date.
He asked for a given date, not the current date
DateTime dt = DateTime.Parse("03/05/2007");
System.Globalization.DateTimeFormatInfo.CurrentInfo.GetDayName(dt.DayOfWeek)
only two letters away from being an asset
|
|
|
|
|
Yes, but I assumed his requirement was to find the name, not parse a date, and at least gave him credit for being able to apply the example to any date.
|
|
|
|
|
Hey all,
I wanted to get some recommendations for merchant account/gateway/shopping cart solutions for a Canadian based web store.
The store is pretty typical: <100 products, physical merchandise (hats, tshirts, toys, etc.), currently considering both manual and real time transaction processing.
I'd prefer the technology solution to be ASP.NET and C#.
Has anyone implemented a similar solution and would recommend their choice of vendor?
Thx
-- modified at 18:24 Wednesday 6th June, 2007
|
|
|
|
|
Currently I have a piece of code that uses the following method to dump a dataGrid table into an excel file, it basically takes the generated html code (i.e. the table, th, td and tr tags) of a dataGrid and send it to context.response.write, which can then be saved as an Excel readable format. (web format in excel)
Dim tw As New System.IO.StringWriter()
Dim hw As New System.Web.UI.HtmlTextWriter(tw)
dataGrid.RenderControl(hw)
Context.Response.Write(Now)
Context.Response.Write("<center><font size=3 face=Verdana color=#0000FF>" & S2LabelTitle.Text & "</font></center>")
Context.Response.Write(tw.ToString())
Context.Response.Flush()
Context.Response.Close()
Context.Response.End()
however, recently my task is to export a dataGrid with french characters in it. When they are exported to the file and read by excel, the french characters shows up as jubbrish.
Can I have some advice?
|
|
|
|
|
there were some html tags surrounding the stupid " & S2LabelTitle.Text & " .....
|
|
|
|
|
I'm sure i can't be the only person experiencing problems with sending email within a corporate environment but I can't find any reference to my problems anywhere.
I've got an asp.net app running on a machine within our dev department. Because it's not a production server it has a restrictive policy applied to it.
If i log in as me and run CDO code from an exe it's all good I can send email via our company exchange server. If I try to get a service to send the email it won't send. ASP runs in a local machine account which has no exchange access and there is a firewall on the machine that stops port 25 outbound except for outlook and an exe name that i have got IS to permit.
If required i have my own colo server that runs hMailServer and I can set up a new account with username and password etc to send.
Does anyone have a neat solution to this problem? I'm sure i'm not the only person who has run into these issues.
Russell
|
|
|
|
|
I have an app with a socket connection, (tcplistener) than sends data every sec ex "0,34;1,65;2,564;...". I want to connect to it and view the data live over the net.. Will an ASP page work for this application? any ideas on where to get started? THANKS SO MUCH!!!
|
|
|
|
|
ASP isn't great for that kind of application as the browser tends to pull data down from the server rather than the server pushing it out.
I'd be tempted to use winforms and a TCP socket connection. You can then host your client app on a webserver if you need to be able to get at it from anywhere. Alternatively yo might prefer something like java web start although you might find that is something of a dirty word around here.
Russell
|
|
|
|
|
I used to have a javascript snip for this feature but I had lost it some how. Anyway, does anybody have this script to share? I am talking about the similar collapse and expand feature used in the articles in the code project website.
Thanks,
Steve C.
kstv@netzero.net
|
|
|
|
|
|
I need to display some information from a text file. The information being called in is between a lead in and lead out in the log. Here is an example of what the log file looks like.
<++++++++++++++++++++>
<RECEIPT>1234
INFO INFO INFO
INFO INFO INFO
1234</RECEIPT>
<++++++++++++++++++++>
<RECEIPT>4567
INFO INFO INFO
INFO INFO INFO
4567</RECEIPT>
<++++++++++++++++++++>
As an example I want to display just the INFO for receipt 4567 and not the <RECEIPT> lines or the <+++++> lines.
I have been playing with the readfile.asp page and it will read the entire file and display it now I just need to limit that to what is between the receipt lines.
Any help will be appreciated.
|
|
|
|