Welcome to MSDN Blogs Sign in | Join | Help

October 2008 - Posts

Silverlight 2.0 Stock Quotation Demo Part 4/4: Cache the previous quoted symbols

The steps are: 1. Adding the following functions to the Page.xaml.cs private string m_filePath = "TestHistoryStocks.txt" ; #region "Local Cache storage" /// <summary> /// Append the current cacheString to the local storage file, will remove all
Posted by xinqiu | 4 Comments
Filed under:

Silverlight 2.0 Stock Quotation Demo Part 3/4: Show different color for up and down quotes

The steps are: 1. Change the column XAML for “Trade” to use cell template: < data : DataGridTemplateColumn Header ="Trade" Width ="80"> < data : DataGridTemplateColumn.CellTemplate > < DataTemplate > < TextBlock TextAlignment ="Right"
Posted by xinqiu | 1 Comments
Filed under:

Silverlight 2.0 Stock Quotation Demo Part 2/4: Basic stock quotation

The steps are: 1. New Project, select C#/Silverlight/SilverilghtApplication. Click OK to “Add Silverlight Application” dialog, which defaults to “Add a new ASP.NET Web project to the solution to host Silverlight”. I named the project as StockQuotesForBlog.
Posted by xinqiu | 1 Comments
Filed under:

Silverlight 2.0 Stock Quotation Demo Part 1/4: Basic Design

Here is a Silverlight demo for getting stock quotes using data grid. It also demos how to use stored cache to save all the queried symbol before. The design would like: I used Visual Studio 2008 SP1 with Silverlight 2.0 RC. For stock quotation service,
Posted by xinqiu | 1 Comments
Filed under:

Attachment(s): StockQuotesForBlog.zip
 
Page view tracker