Click here to Skip to main content
15,896,063 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Plotting a Silverlight chart/graph by getting data from SQL database Pin
burger8730-Jul-09 5:25
burger8730-Jul-09 5:25 
GeneralRe: Plotting a Silverlight chart/graph by getting data from SQL database Pin
Pete O'Hanlon30-Jul-09 9:01
mvePete O'Hanlon30-Jul-09 9:01 
GeneralRe: Plotting a Silverlight chart/graph by getting data from SQL database Pin
burger871-Aug-09 22:16
burger871-Aug-09 22:16 
AnswerRe: Plotting a Silverlight chart/graph by getting data from SQL database Pin
SunilUrs30-Jul-09 6:24
SunilUrs30-Jul-09 6:24 
GeneralRe: Plotting a Silverlight chart/graph by getting data from SQL database Pin
burger871-Aug-09 18:43
burger871-Aug-09 18:43 
AnswerRe: Plotting a Silverlight chart/graph by getting data from SQL database Pin
Pete O'Hanlon30-Jul-09 11:46
mvePete O'Hanlon30-Jul-09 11:46 
GeneralRe: Plotting a Silverlight chart/graph by getting data from SQL database Pin
burger871-Aug-09 18:41
burger871-Aug-09 18:41 
GeneralRe: Plotting a Silverlight chart/graph by getting data from SQL database Pin
Pete O'Hanlon2-Aug-09 10:36
mvePete O'Hanlon2-Aug-09 10:36 
burger87 wrote:
Hey Pete(is that your name?).


Yes.

burger87 wrote:
1) What is an ObservableCollection? Is it similar to a container?


An ObservableCollection is a specialist collection that's designed to support data binding in WPF and Silverlight. Basically, when you add or remove an item from this collection the collection notifies the binding engine that values have been added or removed.

burger87 wrote:
For the DataContext, what do you mean by "bind to the collection"? Do you mean the ObservableCollection?


Yes.

burger87 wrote:
If I use the database's values to update the chart instead of using ObservableCollection, do I still need to make use of ObservableCollection?


Seriously, use the collection - create a model that encapsulates your database values and put this into your collection. Don't cause problems for yourself; use the tools available.

burger87 wrote:
What is MVVM? I'm interested. Does it help my situation in any case?


MVVM is a pattern - it stands for Model-View-ViewModel. Basically this pattern is designed to work with Silverlight and WPF. Google it to find out about it, and read the samples and articles (I have a WPF version here[^]).

"WPF has many lovers. It's a veritable porn star!" - Josh Smith

As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.


My blog | My articles | MoXAML PowerToys | Onyx



QuestionDIssolve effect for image Pin
highton29-Jul-09 17:02
highton29-Jul-09 17:02 
AnswerRe: DIssolve effect for image Pin
Pete O'Hanlon29-Jul-09 21:28
mvePete O'Hanlon29-Jul-09 21:28 
AnswerRe: DIssolve effect for image Pin
#realJSOP31-Jul-09 0:26
professional#realJSOP31-Jul-09 0:26 
QuestionWPF Toolbox Calendar - Slow when connecting to a database Pin
Glyn12329-Jul-09 1:23
Glyn12329-Jul-09 1:23 
AnswerRe: WPF Toolbox Calendar - Slow when connecting to a database Pin
Pete O'Hanlon29-Jul-09 1:48
mvePete O'Hanlon29-Jul-09 1:48 
GeneralRe: WPF Toolbox Calendar - Slow when connecting to a database Pin
Glyn12329-Jul-09 2:10
Glyn12329-Jul-09 2:10 
QuestionHow to call a WCF service from silverlight application Pin
Nekkantidivya29-Jul-09 0:54
Nekkantidivya29-Jul-09 0:54 
AnswerRe: How to call a WCF service from silverlight application Pin
Michael Sync29-Jul-09 4:33
Michael Sync29-Jul-09 4:33 
AnswerRe: How to call a WCF service from silverlight application Pin
Arun Jacob5-Aug-09 0:27
Arun Jacob5-Aug-09 0:27 
Questionwpf + asp.net3.5 Pin
bhavna432129-Jul-09 0:21
bhavna432129-Jul-09 0:21 
AnswerRe: wpf + asp.net3.5 Pin
#realJSOP29-Jul-09 3:13
professional#realJSOP29-Jul-09 3:13 
AnswerRe: wpf + asp.net3.5 Pin
Christian Graus29-Jul-09 10:52
protectorChristian Graus29-Jul-09 10:52 
QuestionTextbox Overriding OnRender and FormattedText problem [modified] Pin
Member 232448328-Jul-09 10:47
Member 232448328-Jul-09 10:47 
AnswerRe: Textbox Overriding OnRender and FormattedText problem Pin
Member 232448328-Jul-09 13:53
Member 232448328-Jul-09 13:53 
QuestionWPF Designer fails loading assembly Pin
vbnetter28-Jul-09 7:43
vbnetter28-Jul-09 7:43 
AnswerRe: WPF Designer fails loading assembly Pin
Christian Graus28-Jul-09 11:14
protectorChristian Graus28-Jul-09 11:14 
GeneralRe: WPF Designer fails loading assembly Pin
vbnetter29-Jul-09 3:43
vbnetter29-Jul-09 3:43 

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.