Click here to Skip to main content
15,887,135 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Updating Control outside Update pannel Pin
Christian Graus25-Nov-09 6:02
protectorChristian Graus25-Nov-09 6:02 
AnswerRe: Updating Control outside Update pannel Pin
Abhishek Sur25-Nov-09 8:23
professionalAbhishek Sur25-Nov-09 8:23 
AnswerRe: Updating Control outside Update pannel Pin
Nishant Singh25-Nov-09 19:41
Nishant Singh25-Nov-09 19:41 
QuestionSetting active link bold in html Pin
shankbond25-Nov-09 2:34
shankbond25-Nov-09 2:34 
AnswerRe: Setting active link bold in html Pin
Abhishek Sur25-Nov-09 3:44
professionalAbhishek Sur25-Nov-09 3:44 
GeneralRe: Setting active link bold in html Pin
shankbond25-Nov-09 4:27
shankbond25-Nov-09 4:27 
GeneralRe: Setting active link bold in html Pin
Abhishek Sur25-Nov-09 10:25
professionalAbhishek Sur25-Nov-09 10:25 
QuestionQuestion about converting CSV stream to XML Format Pin
James Shao25-Nov-09 2:33
James Shao25-Nov-09 2:33 
Hi guys,

Recently I've been experimenting with converting csv files from Yahoo Finance to XML data, and there is a great article on MSDN site about how to do so, with sample code provided. However, there's a "GenerateDataSet" class that fails to get recognized by my VWD 2008 Express, and I've tried importing all sorts of possible namespaces. Frown | :( After doing some research, it seems to be a Windows Form component rather than a web form component. I understand that the "GenerateDataSet" class is supposed to put the csv datastream into a dataset, however I'm not familiar enough with asp.net to come up with an alternative to make it work. Could you please help me? I'd greatly appreciate it! Smile | :)

Part of the sample code provided by MSDN (this function is supposed to read csv data online and return XML data:

    <br />
Public Function getStockXML(ByVal strTicker As String, ByVal strStartDate As String, ByVal strEndDate As String) As XmlDocument<br />
        Dim xReturn As New XmlDocument()<br />
        Dim result As New DataSet()<br />
        Dim wc As New WebClient()<br />
        Dim yData As Stream = wc.OpenRead(sYahooURI)  'sYahooURI is the url link to Yahoo Finance csv file<br />
        result = GenerateDataSet(yData)<br />
<br />
        Dim stringWriter As New StringWriter()<br />
        Dim xmlTextwriter As New XmlTextWriter(stringWriter)<br />
        result.WriteXml(xmlTextwriter, XmlWriteMode.IgnoreSchema)<br />
        Dim xRoot As XmlNode = xReturn.CreateElement("root")<br />
        xReturn.AppendChild(xRoot)<br />
        xReturn.LoadXml(stringWriter.ToString())<br />
        Return (xReturn)<br />
    End Function<br />

AnswerRe: Question about converting CSV stream to XML Format Pin
Abhishek Sur25-Nov-09 3:47
professionalAbhishek Sur25-Nov-09 3:47 
GeneralRe: Question about converting CSV stream to XML Format Pin
James Shao25-Nov-09 5:14
James Shao25-Nov-09 5:14 
QuestionI want to implement Windows authentication. Pin
skcdac25-Nov-09 2:14
skcdac25-Nov-09 2:14 
AnswerRe: I want to implement Windows authentication. Pin
Abhishek Sur25-Nov-09 2:17
professionalAbhishek Sur25-Nov-09 2:17 
AnswerRe: I want to implement Windows authentication. Pin
Vimalsoft(Pty) Ltd25-Nov-09 2:19
professionalVimalsoft(Pty) Ltd25-Nov-09 2:19 
QuestionFree WYSIWYG Editors Pin
Abbas_here25-Nov-09 1:36
Abbas_here25-Nov-09 1:36 
AnswerRe: Free WYSIWYG Editors Pin
sashidhar25-Nov-09 1:41
sashidhar25-Nov-09 1:41 
GeneralRe: Free WYSIWYG Editors Pin
Abbas_here25-Nov-09 2:05
Abbas_here25-Nov-09 2:05 
AnswerRe: Free WYSIWYG Editors Pin
Gamzun25-Nov-09 1:55
Gamzun25-Nov-09 1:55 
GeneralRe: Free WYSIWYG Editors Pin
Abbas_here25-Nov-09 2:06
Abbas_here25-Nov-09 2:06 
AnswerRe: Free WYSIWYG Editors Pin
Abhishek Sur25-Nov-09 2:20
professionalAbhishek Sur25-Nov-09 2:20 
AnswerRe: Free WYSIWYG Editors Pin
saini arun25-Nov-09 2:23
saini arun25-Nov-09 2:23 
GeneralRe: Free WYSIWYG Editors Pin
Abbas_here25-Nov-09 3:33
Abbas_here25-Nov-09 3:33 
QuestionDiable the Refresh button ! Pin
Jacobb Michael24-Nov-09 23:37
Jacobb Michael24-Nov-09 23:37 
AnswerRe: Diable the Refresh button ! Pin
sashidhar25-Nov-09 0:11
sashidhar25-Nov-09 0:11 
AnswerRe: Diable the Refresh button ! Pin
Kannan Ar25-Nov-09 0:58
professionalKannan Ar25-Nov-09 0:58 
AnswerRe: Diable the Refresh button ! Pin
Abhishek Sur25-Nov-09 1:27
professionalAbhishek Sur25-Nov-09 1:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.