Browse by Tags

Samples from Monday's Webcast
Have been uploaded The zip file below contains the samples from Monday's webcast, and an additional samples that adds the following (based on questions I received): The binding source is serializable. It simply saves to a hardcoded file, but you get...
Posted 13 July 2005 05:54 AM by wwagner | with no comments
Filed under: ,
Yet another reader question
From an older article that is still online, comparing my approach to another author's. Yet another reader question (from an older article online at fawcette.com) I just read your VS Magazine article (see links below) regarding data-driven client validation...
Posted 12 June 2005 10:10 PM by wwagner | with no comments
Filed under: ,
Data Binding with immutable Types?
It does work, if you are not changing the data. In fact, that's the preferred way if the user is not allowed to change the data. I received the following question (which does related to Effective C#). I thought the discussion was of general interest...
Posted 01 March 2005 05:21 AM by wwagner | with no comments
Filed under: ,
Of DataBinding and Value Types
Copies and boxes and performance, Oh My. This caught me and members of a client team recently, so I thought I would share it. In a Windows application, we created a simple value type to store a couple properties. Something like this: public struct WeatherObservation...
Posted 20 January 2005 05:50 PM by wwagner | with no comments
Filed under: ,
A Reader Question on DataBinding
This one asks how to handle Properties of embedded objects. Question: Bill, After reading your paper on Visual Studio Magazine, I spent a few hours trying to bind to a subproperty and... I'm wondering if it is possible! I first coded a ContactList...
Question from a reader about DataBindings
A few questions and some answers about how to best perform data binding when you create windows forms. Question: (or actually a few questions. Answers are inline) I'm an up-and-coming .net developer whose trying to implement databinding to business...
DataBinding and Custom Collections
ITypedList and when to use it. Over the past two weeks, I’ve gotten two questions relating to Windows Forms Databinding and custom collections. In the first case, the developer had created a collection that held polymorphic items: public class MyBaseClass...
How to format data in the Data Grid
Question and answer on the DataGrid, Datasets.How do you format the information, and trap user interaction. Question: I have a question, do you happen to know how to format data as it is going into a datagrid from a dataset and dataadapter? I want to...
Posted 07 June 2004 05:14 AM by wwagner | with no comments
Filed under: ,
Of Dataset.GetChanges and Diffgrams
The state of the change has a bearing on how you should examine the changes in a dataset. Q: Why does Dataset.GetChanges() return an empty dataset? Examine the following code: The dataset stored in ChangedDoc.xml is empty. Why? ds.ReadXml(" http...
Posted 03 May 2004 08:52 PM by wwagner | with no comments
Filed under: ,
Creating Data Binding Classes.
Question and Answer on creating and using DataBinding in your own types. Q : When you bind to business objects, then you not only want to bind to the properties of the objects, often you want to display properties of related objects. Example: You have...
Posted 31 March 2004 06:33 AM by wwagner | with no comments
Filed under: ,

Search

Go

Blog Group Links

Nascar style badges